1mailto(samba@samba.org) 2 3manpage(smbsh htmlcommand((1)))(1)(23 Oct 1998)(Samba)(SAMBA) 4 5label(NAME) 6manpagename(smbsh)(Allows access to Windows NT filesystem using UNIX commands) 7 8label(SYNOPSIS) 9manpagesynopsis() 10 11bf(smbsh) 12 13label(DESCRIPTION) 14manpagedescription() 15 16This program is part of the bf(Samba) suite. 17 18bf(smbsh) allows you to access an NT filesystem using UNIX commands 19such as bf(ls), bf(egrep), and bf(rcp). You must use a shell that 20is dynmanically linked in order for bf(smbsh) to work correctly. 21 22To use the bf(smbsh) command, execute bf(smbsh) from the prompt and 23enter the username and password that authenticate you to the 24machine running the Windows NT operating system. 25 26verb( 27system% smbsh 28Username: user 29Password: 30) 31 32Any dynamically linked command you execute from this shell will 33access the bf(/smb) directory using the smb protocol. 34For example, the command 35 36tt(ls /smb) 37 38will show all the machines in your workgroup. 39The command 40 41tt(ls /smb/<machine-name>) 42 43will show the share names for that machine. You could then, for example, use the 44bf(cd) command to change directories, bf(vi) to edit files, and bf(rcp) 45 to copy files. 46 47label(VERSION) 48manpagesection(VERSION) 49 50This man page is correct for the 2.0.3 of the Samba suite. 51 52label(BUGS) 53manpagebugs() 54 55bf(smbsh) works by intercepting the standard libc calls with the dynamically loaded 56versions in bf(smbwrapper.o). Not all calls have been "wrapped" so some programs 57may not function correctly under bf(smbsh). 58 59Programs which are not dynamically linked cannot make use of bf(smbsh)'s 60functionality. Most versions of UNIX have a bf(file) command that will describe how 61a program was linked. 62 63label(SEEALSO) 64manpageseealso() 65 66url(bf(smb.conf (5)))(smb.conf.5.html), 67url(bf(smbd (8)))(smbd.8.html). 68 69label(AUTHOR) 70manpageauthor() 71 72The original Samba software and related utilities were created by 73Andrew Tridgell (samba@samba.org). Samba is now developed 74by the Samba Team as an Open Source project similar to the way the 75Linux kernel is developed. 76 77The original Samba man pages were written by Karl Auer. The man page 78sources were converted to YODL format (another excellent piece of Open 79Source software, available at 80url(bf(ftp://ftp.icce.rug.nl/pub/unix/))(ftp://ftp.icce.rug.nl/pub/unix/)) 81and updated for the Samba2.0 release by Jeremy Allison. 82email(samba@samba.org). 83 84See url(bf(samba (7)))(samba.7.html) to find out how to get a full 85list of contributors and details on how to submit bug reports, 86comments etc. 87 88