Use /etc/nsmb.conf.
Here it is a simple procedure (it works flawlessly for me!) supposing that the 
windows user is called 'myuser', the password 'pass' and the windows 
share //winserver/data:
As root and once and for all:
1) On your freebsd box create a  user called 'myuser' with adduser etc..;
2) issue "smbpasswd myuser", when prompted for the password type pass;
3)  edit the /etc/nsmb.conf file adding these few lines: 

###############################
# First, define a workgroup.
[default]
workgroup=Myworkgroup

[WINSERVER]
addr=winserver.yourdomain # or IP address

[WINSERVER:MYUSER]
password=pass
##############################

4) restart samba '/usr/local/etc/rc.d/samba.sh restart'
5) issue,e.g.:
mount_smbfs -I winserver //[EMAIL PROTECTED]/data /home/myuser/smb

Ciao
Vittorio




Alle 01:36, martedì 22 novembre 2005, Robert Fitzpatrick ha scritto:
> Can someone point me to info on how to access shares on the netowrk
> without having to provide the password. I am logged in to my FreeBSD 6.0
> workstation with the user name and password equal to that of a user on
> the other samba servers and Windows.
>
> --
> Robert
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to