10-25-2011
map unix directory to Windows 2003 server
Hi,
I am new unix,
In the unix server we have two folders
1. /home/directory/sub1/
2. /home/directory/sub2/
Under each sub we have some other subfolders also.
Here my question is
I want to create sub2(including subfolder of this) as share drive to windows 2003 server.
Can any one help me regarding this step by step process?
If any one reply to this as early as possible its more appriciatable.
Thanks alot in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all ;;
I have a Tru64 UNIX machine , first i want my employees ( windows clients) to see specific directory on unix , and how can i put a unix command in a visual basic code to copy the contents of that directory to drive c in the client side who request that by clicking a push button.
... (3 Replies)
Discussion started by: kafaween
3 Replies
2. Windows & DOS: Issues & Discussions
We have a Windows Server 2003 box and I'd like to share a drive with a Sun Solaris box so that the Sun Solaris box can copy files to/from the Windows Server 2003.
I believe that Windows Services for UNIX 3.5 will allow me to do this, can anyone comfirm this ?
Also, any links on how to... (1 Reply)
Discussion started by: markgrimes
1 Replies
3. UNIX for Dummies Questions & Answers
Hello All,
I need your help with this, i appreciate all your help that you can give.
Windows NT Domains
Connect Windows XP as a domain client to both systems, Windows Server 2003 and Unix.
Secure shell
Set up secure shell on Linux (ssh). Set up secure client on Windows XP. Putty?
I... (1 Reply)
Discussion started by: italia
1 Replies
4. Solaris
Hi,
Anybody knows how to map a particular server directory to another server directory. Both servers are unix. For example when i view the files in server A /export/home/web/doc/ , I am actually viewing the files in server B /export/home/web/doc. Have been looking for a solution for a long time.... (2 Replies)
Discussion started by: sagolo
2 Replies
5. Shell Programming and Scripting
How to map the windows server to tenet/unix server an dget the files in the windows server to unix server? (1 Reply)
Discussion started by: vinay123
1 Replies
6. Solaris
Hello everybody .. i want connect with smbclient to an windows server 2003 with active directory. Exist a version of samba that can do this?
Thank you very much for your time.
Good Luck :b: (3 Replies)
Discussion started by: enkei17
3 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to connect from Unix machine to Windows 2003 server using passphrase method. It is connecting to the server and the connection is immediately closing. Below is the stack trace. Can anyone let me know what wrong with it?
cwadmin@iut1wps1:/home/cwadmin> ssh username@targetip... (1 Reply)
Discussion started by: vijayin
1 Replies
8. UNIX for Dummies Questions & Answers
Hi everybody...
I want to sync files between unix client machine and windows 2003 server machine.
I thought of using Cygwin for windows server and then rsync between two to sync files, but have come to know that might be Cygwin will not be able to handle multiple clients request....
Can any... (2 Replies)
Discussion started by: lokeshsingla
2 Replies
9. Shell Programming and Scripting
Hi,
I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile.
When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message.
Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies
10. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
LEARN ABOUT OPENSOLARIS
rmdirp
mkdirp(3GEN) String Pattern-Matching Library Functions mkdirp(3GEN)
NAME
mkdirp, rmdirp - create or remove directories in a path
SYNOPSIS
cc [ flag ... ] file ... -lgen [ library ... ]
#include <libgen.h>
int mkdirp(const char *path, mode_t mode);
int rmdirp(char *dir, char *dir1);
DESCRIPTION
The mkdirp() function creates all the missing directories in path with mode. See chmod(2) for the values of mode.
The rmdirp() function removes directories in path dir. This removal begins at the end of the path and moves backward toward the root as far
as possible. If an error occurs, the remaining path is stored in dir1.
RETURN VALUES
If path already exists or if a needed directory cannot be created, mkdirp() returns -1 and sets errno to one of the error values listed for
mkdir(2). It returns zero if all the directories are created.
The rmdirp() function returns 0 if it is able to remove every directory in the path. It returns -2 if a ``.'' or ``..'' is in the path and
-3 if an attempt is made to remove the current directory. Otherwise it returns -1.
EXAMPLES
Example 1 Example of creating scratch directories.
The following example creates scratch directories.
/* create scratch directories */
if(mkdirp("/tmp/sub1/sub2/sub3", 0755) == -1) {
fprintf(stderr, "cannot create directory");
exit(1);
}
chdir("/tmp/sub1/sub2/sub3");
.
.
.
/* cleanup */
chdir("/tmp");
rmdirp("sub1/sub2/sub3");
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
chmod(2), mkdir(2), rmdir(2), malloc(3C), attributes(5)
NOTES
The mkdirp() function uses malloc(3C) to allocate temporary space for the string.
SunOS 5.11 14 Oct 2003 mkdirp(3GEN)