Date: Fri, 12 Dec 2003 23:03:27 -0800 (PST) From: siavash mahjoob <s_mahjoob2002@yahoo.com> To: freebsd-questions@FreeBSD.org Subject: please help me Message-ID: <20031213070327.42492.qmail@web14913.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
--0-861736659-1071299007=:42315 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline hi Dear Mr or Mrs my name is siavash mahjoob i using samba 2.0.10 at freebsd 4.4 i login wth root password. i configure smb.conf at /usr/local/etc/smb.conf, then using smbpasswd for create password for a user that created my me(admin) when we want to login to /home from windows 2000 server a logon screen open that have two option connect as & password. i write \\s1\home & password(admin password:root). then i recive this message \\s1\home is not accessible, the specified username is invalid. my smbpasswd file is in /usr/local/bin/smbpasswd. i think this problem related to make_smbpasswd or convert_smbpasswd at /usr/local/bin. please guide me the samba configuration file attached with this mail. regards, e-mail : s_mahjoob2002@yahoo.com __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --0-861736659-1071299007=:42315 Content-Type: text/plain; name="smb.txt" Content-Description: smb.txt Content-Disposition: inline; filename="smb.txt" # #======================= Global Settings ===================================== [global] workgroup = WORKGROUP workgroup = MYGROUP # server string is the equivalent of the NT Description field server string = Samba Server hosts allow = 192.168.1. 192.168.2. 127. load printers = yes printcap name = /etc/printcap printing = bsd guest account = admin log file = /var/log/log.%m max log size = 50 security = user encrypt passwords = yes include = /usr/local/etc/smb.conf.%m socket options = TCP_NODELAY interfaces = 192.168.1.2/24 192.168.1.1/24 ; local master = no os level = 255 ; domain master = yes ; preferred master = yes ; domain controller = <NT-Domain-Controller-SMBName> domain logons = yes ; logon script = %m.bat ; logon script = %U.bat ; logon path = \\%L\Profiles\%U ; wins support = yes wins server = 192.168.1.2 ; wins proxy = yes dns proxy = no # Client codepage settings # for Greek users ; client code page=737 # for European users (Latin 1) ; client code page=850 # for European users (Latin 2) ; client code page=852 # for Icelandic users ; client code page=861 # for Cyrillic users ; client code page=866 # for Japanese Users ; client code page=932 ; coding system=cap # for Simplified Chinese Users ; client code page=936 ; coding system=cap # for Korean Users ; client code page=949 ; coding system=cap # for Traditional Chinese Users ; client code page=950 ; coding system=cap #============================ Share Definitions ============================== [homes] comment = Home Directories path = /home browseable = yes writeable = yes # Un-comment the following and create the netlogon directory for Domain Logons [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon guest ok = yes writeable = no share modes = no # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] ; path = /usr/local/samba/profiles ; browseable = no ; guest ok = yes # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writeable = no printable = yes # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes # A publicly accessible directory, but read only, except for people in # the "staff" group ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; writeable = yes ; printable = no ; write list = @staff ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writeable = no ; printable = yes # A private directory, usable only by fred. Note that fred requires write # access to the directory. ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writeable = yes ; printable = no ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writeable = yes ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writeable = yes ; printable = no ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writeable = yes ; printable = no ; create mask = 0765 --0-861736659-1071299007=:42315--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031213070327.42492.qmail>