Julian.Tan@allianz.com.sg
2000-Jun-30 03:58 UTC
Password problem ..... can't share files ..
My purpose to have a samba server is to share files across UNIX and NT servers. I want to be able to mount NT directories/files over to UNIX system and vice versa. I have RS/6000 machine running AIX 4.2 (will be upgraded to 4.3 soon) After trying a few times, i have finally installed samba in AIX machine. I have installed an older version 2.0.0 as only this version support AIX 4.2 (if i am wrong, please correct me). I have configured to use security = user, encrypt password = no, update encrypted = no, password level = 8. I have set the host allow = 128. (I allow anyone in the domain with the 128. ip address to access) In Unix /etc/passwd file, i created the user called samba and created a password for it. Then in smbpasswd i created the same thing. In my PDC server on NT, i created the same user and password. I have NT v4, therefore I set on the NT Machine registry to enable plain text password as follow: In Registry directory HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Rdr\Parameters\ , I have added the value EnablePlainTextPassword:REG_DWORD=1 My problems, Firstly, In one of my BDC on NT (logged in as administrator), when I keyed in net use w: \\SMBSERVER\samba, it prompted me to enter the password. I keyed in the samba password which is synchronised between the UNIX and NT servers, i get ACCESS IS DENIED message. I have used all small cases in the password so as not to complicate things. Can anyone tell me what I missed out ? Secondly, When I tried to use the same net use command in NT on a workstation (ip address start with 128.), after getting the prompt for password, and I have keyed in the password, an message THE ACCOUNT IS NOT AUTHORISED TO LOGIN FROM THIS STATION. Can anyone help me ? Here is a list I get from testparm smb.conf file. It is not a complete list because I have taken certain things that i don't think is necessary (try to keep my email short).. let me know if you need further information... workgroup = SERVER01 netbios name netbios aliases server string = Samba Server interfaces bind interfaces only = No security = USER encrypt passwords = No update encrypted = No use rhosts = No map to guest = Never null passwords = No password server smb passwd file = /var/samba/private/smbpasswd hosts equiv root directory = / passwd program = /bin/passwd passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n *changed* passwd chat debug = No username map = /var/samba/users.map password level = 8 username level = 0 unix password sync = No log level = 2 syslog = 1 syslog only = No log file = /var/samba/log/log.%m max log size = 50 timestamp logs = Yes protocol = NT1 read bmpx = Yes read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes announce version = 4.2 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max disk size = 0 max open files = 10000 read prediction = No read size = 16384 shared mem size = 1048576 socket options = TCP_NODELAY stat cache size = 50 load printers = Yes printcap name = /etc/qconfig printer driver file = /usr/local/lib/printers.def strip dot = No character set mangled stack = 50 coding system client code page = 850 stat cache = Yes domain groups domain admin group domain guest group domain admin users domain guest users machine password timeout = 604800 add user script delete user script logon script logon path = \\%N\%U\profile logon drive logon home = \\%N\%U domain logons = No os level = 33 lm announce = Auto lm interval = 60 preferred master = No local master = No domain master = No browse list = Yes dns proxy = No wins proxy = No wins server wins support = No kernel oplocks = Yes ole locking compatibility = Yes smbrun = /usr/local/bin/smbrun config file preload lock dir = /var/samba/locks default service message command dfree command valid chars remote announce remote browse sync socket address = 0.0.0.0 homedir map time offset = 0 unix realname = No NIS homedir = No panic action comment path alternate permissions = No revalidate = No username guest account = nobody invalid users valid users admin users read list write list force user force group read only = Yes
[Julian.Tan@allianz.com.sg <Julian.Tan@allianz.com.sg>]> After trying a few times, i have finally installed samba in AIX > machine. I have installed an older version 2.0.0 as only this version > support AIX 4.2 (if i am wrong, please correct me).A lot of us have been running newer versions of Samba 2.0.x on AIX 4.x. I run 2.0.5a on AIX 4.3.1 and 4.3.3. Nary a problem (until recently, a server had an argument with my PDC and I had to drop back from security=domain to =server pending finding time to figure it out). If you want to control Samba with the `startsrc'/`stopsrc' commands, it's easy to do but you need a small patch. See http://samba.cadcamlab.org/lists/samba-technical/Mar2000/00076.html for details. Note that `refresh' isn't supported -- *that* patch would be a great deal more complex.> In Unix /etc/passwd file, i created the user called samba and created > a password for it. Then in smbpasswd i created the same thing. In my > PDC server on NT, i created the same user and password.[...]> In one of my BDC on NT (logged in as administrator), when I keyed in > net use w: \\SMBSERVER\samba, it prompted me to enter the password. I > keyed in the samba password which is synchronised between the UNIX > and NT servers, i get ACCESS IS DENIED message. I have used all small > cases in the password so as not to complicate things. Can anyone tell > me what I missed out ?You should specify a username as well. Try both "samba" and "server01\samba" for the username -- I'm not sure which is right. Peter