Hello, Samba 1.9.16p11 on Sun OS 5.6 For a NT4 Server SP4, I can not access to the samba server. When I look at the log.MachineName file, I see the error "password server not avalaible". I must say that it is working fine with an NT4 SP4 server on the same domain with the same user account. I have change the registry to authorize non-encrypted password. ...... Thanks. -- Anne Sauvage GAMSAU - MAP Ecole d'Architecture de Marseille 184 av de Luminy - 13288 Marseille Cedex 09 tel : 04 91 82 71 62/70 - fax : 04 91 82 71 71
When the world was young, Anne Sauvage carved some runes like this:> Samba 1.9.16p11 on Sun OS 5.6 > For a NT4 Server SP4, I can not access to the samba server. When I look > at the log.MachineName file, I see the error "password server not > avalaible". > I must say that it is working fine with an NT4 SP4 server on the same > domain with the same user account. > I have change the registry to authorize non-encrypted password.It sounds like my experience (we just got our first NT workstation machine - NT4-SP3). I'm pretty good at bludgeoning win9x into submission, but NT's a different animal altogether. After installing the plaintext password hack, I still couldn't access my samba box (but I could see it in NetHood). It would ask for a password (and say it was connecting as the right user) but it still wouldn't let me in. I found something in the WinNT.txt file:> The other major ramification of this feature of NT is that it can't > browse a user level non-encrypted server unless it already has a > connection open. This is because there is no spot for a password > prompt in the browser window. It works fine if you already have a > drive mounted (for example, one auto mounted on startup).Once I mapped a drive using the Net Use command, I can now browse fine from the NT box. Hope this helps, Steve ****************************************************************** Stephen L Arnold sarnold@earthling.net Conserving bandwidth (and bellybutton lint)
Hello, I just installed Samba-2.0.5a_for_MacOSXServer on my server. The local smbclient works just fine and all the tests up to 7 run just fine. At test 8 (net view //servername) I receive this error message: system error 5 has occurred access is denied. I can see the smb server in my network neighborhood and I can mount it from the UNIX host, but from any of the PC clients, I get the access is denied error. If I try to mount the server through the network neighborhood. I get an error that claims the account is not authorized to login from this station. I have tried this with and without the hosts allow and there are currently no entries for host deny. I have tried this with passwords and without. Which setting(s) is incorrect? Any ideas? Thank you, Paul-
I am getting access denied errors when trying to copy or move files from win98 to linux. I cannot figure this out. I have done the following: Vern1 is name of linux machine Vern2 is name of win98 machine logging on to win98 as nobody I can copy and move files from linux to win98, but not the other way around. What I am trying to do is to be able to access all the drives and printers on linux from win98 using nobody. Any help would be appreciated, I'm stumped! My next question would be...how to access win98 drives and printer from linux? Can it somehow be added to file manager, similar to windows? This is just for my home pc's so security is not a concern. Thank you, thank you!!!!
Vern W Heesch wrote:> I am getting access denied errors when trying to copy or move files from > win98 to linux.> I can copy and move files from linux to win98, but not the other way > around. >Most probably the underling Linux/Unix permissions are set incorrectly. Samba will validate you as a valid user but that user must have write permission to the directory you wish to place your files. You could change the owner of the directory to "nobody" or allow world write.> >
Hello, has anyone seen this? Samba 2.2.1a, when I try to access the same file from a Windows station more then once, I get a access denied error. However if I try two more times, I can get access. Does it sound like a file locking issue? Here is what my smb.conf looks like. [global] workgroup = worktest netbios name = fileshare1 server string = Samba Server printcap name = /etc/printcap load printers = yes printing = lprng log file = /var/log/samba/%m.log max log size = 0 security = share ; password server = pdc ; password server = bdc encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote announce = x.x.x.x ; local master = no ; os level = 33 wins server = x.x.x.x wins proxy = no dns proxy = no read raw = yes write raw = yes max xmit = 65535 dead time = 15 getwd cache = yes lpq cache = 30 [share] comment = Test path = /store public = yes writable = yes printable = no Thanks for any help. Charles charles.schmidt@timberline.com
Hi, Dear ALL: 1. I figured out how to make the file folder accessible if the security = share. What you need to do is to add this line into the folder section, like: [tmp] share modes = yes 2. However, I still could not make the security = user to pass the test 8 or test 9. Again, I am using Samba 2.0.7 on redhat 6.2 and access it from win2000. I am using the same account and password from both linux and win2000, and enable the password encrypt and created smbpassword file. Help is greatly appreciated. Hong ZHou -------------- next part -------------- HTML attachment scrubbed and removed
Hi all, I have a problem with the samba 2.2.4. The server is running as PDC and sharing programms and files for the users. But if one user is opening a file, another user isn't able to open the file in read-only mode. The user didn't got any access on this file. I have attached my smb.conf below. Hope someone can help me. Thanx Jo --------------------------------------------------------------------------------------------------------------------------------------------------------- smb.conf --------------------------------------------------------------------------------------------------------------------------------------------------------- # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not many any basic syntactic errors. # #======================= Global Settings ====================================[global] log file = /usr/local/samba/var/users/log.%m max log size = 50 domain master = yes time server = no dns proxy = no domain logons = yes encrypt passwords = yes announce as = NT Server logon path = \\%L\Profiles\%U server string = Samba %v (PDC) domain admin group = @root nt acl support = no workgroup = K1BRSD1 protocol = NT1 logon script = %U.bat netbios name = K1BRSNT1 socket options = TCP_NODELAY netbios aliases = FS2 fs2 gw1 GW1 load printers = no local master = yes security = user os level = 255 admin users = superuser announce version = 4.2 wins support = true [netlogon] comment = Network Logon Service path = /usr/local/samba/netlogon guest ok = no writable = yes 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] create mask = 0600 directory mask = 0700 valid users = @samba browseable = no case sensitive = yes force create mode = 770 force directory mode = 770 create mode = 770 writable = yes directory mode = 770 force group = samba path = /usr/local/samba/profile public = yes [public] comment = Public Stuff path = /usr/local/samba/public public = yes writable = yes printable = no write list = @samba [alles] create mask = 700 browsable = no directory mask = 700 valid users = @supervisor comment = alles auf Linux write list = superuser writable = yes path = / [programme] browsable = yes valid users = @samba comment = Programmpfad write list = @supervisor,@schulung create mode = 770 directory mode = 770 dont descend = /winshare/programme/lost+found path = /winshare/programme/users/%u [daten] browsable = yes valid users = @samba comment = Datenpfad write list = @supervisor create mode = 770 directory mode = 770 writable = yes dont descend = /winshare/daten/lost+found force group = samba path = /winshare/daten/users/%u sync always = yes [tools] create mask = 770 browsable = yes directory mask = 770 valid users = @samba comment = Tools write list = jourdan,@supervisor dont descend = /winshare/tools/lost+found path = /winshare/tools/pub [vorlagen] browsable = yes valid users = @samba comment = Vorlagenpfad case sensitive = yes browseable = no write list = superuser,jourdan preserve case = yes force create mode = 770 create mode = 770 force directory mode = 770 directory mode = 770 force group = samba path = /winshare/vorlagen [prt] valid users = @ids comment = Excel-Reportpfad write list = @supervisor create mode = 770 writable = yes directory mode = 770 path = /winshare/daten/ids [sap] create mode = 770 directory mode = 770 valid users = @sap comment = SAP Programmpfad path = /winshare/programme/sapserver write list = jourdan,@supervisor [mail] valid users = @samba comment = Postverzeichnis force create mode = 770 force directory mode = 770 create mode = 770 directory mode = 770 writable = yes force group = samba path = /winhome [Amun] create mode = 770 valid users = @schulung directory mode = 770 comment = Das Verm?chtnis des Amun force group = samba path = /winshare/programme/TutorWIN/Amun [tb1] valid users = @zeichenbuero,@supervisor comment = Datenpfad Zeichenbuero create mode = 770 writable = yes directory mode = 770 force group = samba path = /winshare/daten/tb1 [homes] create mode = 777 writable = yes directory mode = 777 comment = Homes force group = samba browseable = no [progs] valid users = superuser,jourdan comment = Programme fuer Admin browseable = no force create mode = 770 create mode = 770 force directory mode = 770 writable = yes directory mode = 770 force group = samba path = /winshare/programme -------------- next part -------------- 3j?Zr??? ???y??v?????
Despite my efforts, over the last 3 days, to get my PC to mount even the simpiliest /tmp share from the HP server. I have failed. :( I have followed the DIAGNOSIS.txt by Andrew Tridgell and most of the tests work. Only when it comes to connecting from the PC do I get denied. ??? I have tried to set every know paramitter that remotely has to do with authenticating, without success. Restarts of smbd and nmbd were also done between each change. I have it wide-open and still I get denied. What is missing??? I have added account also using smbpasswd -a <user> also. On unix server mounts/logins work. Tests showing shares work on unix. Swat works on PC also. Running samba 2.2.3a on HP-UX 10.20. Installed as a pre-compiled depot. If I try to run net use on my PC. I get the following below. And yes. I am using my NT login password which is the same id and password on this unix server: -------------------------------------------------------------- C:\>net use x: \\199.254.200.1\tmp The password is invalid for \\199.254.200.1\tmp. Type the password for \\199.254.200.1\tmp: System error 1240 has occurred. The account is not authorized to login from this station. ------------------------------------------------------------------ Desperate help needed here. Leaving Friday. Jerry
Here is the smb.conf. # Samba config file created using SWAT # from mfg_jsuther_95.sat.faidor.com (172.16.15.242) # Date: 2003/06/18 14:45:09 # Global parameters [global] workgroup = MYGROUP server string = Samba Server null passwords = Yes unix password sync = Yes log file = /usr/local/samba/var/log.%m max log size = 50 dns proxy = No [homes] comment = Home Directories valid users = %S read only = No browseable = No [moorej] comment = Home Directory path = /home/moorej valid users = moorej read only = No [tmp] comment = Temporary file space path = /tmp user = moorej --- Joel Hammer <Joel@HammersHome.com> wrote: Why don't you post your smb.conf? I avoid all password hassles with the following global and share definitions: [global] encrypt passwords = yes security = SHARE guest account = ftp [AllFiles] comment = All Files path = / read only = no guest ok = yes For a walk on the wild side, try making: guest account = root Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
On Wed, 18 Jun 2003 20:37:03 GMT, Jerry Moore wrote> Despite my efforts, over the last 3 days, to get my PC to mount even > the simpiliest /tmp share from the HP server. I have failed. :( I > have followed the DIAGNOSIS.txt by Andrew Tridgell and most of the > tests work. Only when it comes to connecting from the PC do I get > denied. ??? I have tried to set every know paramitter that remotely > has to do with authenticating, without success. Restarts of smbd and > nmbd were also done between each change. I have it wide-open and > still I get denied. What is missing??? I have added account also > using smbpasswd -a <user> also. On unix server mounts/logins work. > Tests showing shares work on unix. Swat works on PC also. > > Running samba 2.2.3a on HP-UX 10.20. > > Installed as a pre-compiled depot. > > If I try to run net use on my PC. I get the following below. > And yes. I am using my NT login password which is the same > id and password on this unix server: > > -------------------------------------------------------------- > C:\>net use x: \\199.254.200.1\tmp > The password is invalid for \\199.254.200.1\tmp. > > Type the password for \\199.254.200.1\tmp: > System error 1240 has occurred. > > The account is not authorized to login from this station. > > ------------------------------------------------------------------ > > Desperate help needed here. Leaving Friday. > > Jerry > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambaYou are logging in from a NT box? Do you have a machine trust set up in smb.conf and a root in smbpasswd for machine trust account access? Tom -- Internet Service Provided By Abyss Communications Internet Service only $10 a month 1-866-842-2977
YOU ARE THE MAN!!! You have made my day! Many thanks. Jerry --- "Mark" <lists@greplinux.dyndns.org> wrote: Add to [global] Encrypt passwords = yes, Restart samba -----Original Message----- From: samba-bounces+lists=greplinux.dyndns.org@lists.samba.org [mailto:samba-bounces+lists=greplinux.dyndns.org@lists.samba.org] On Behalf Of Jerry Moore Sent: Wednesday, June 18, 2003 3:46 PM To: Joel@HammersHome.com Cc: jerry950@netzero.com; samba@lists.samba.org Subject: Re: [Samba] Access Denied Here is the smb.conf. # Samba config file created using SWAT # from mfg_jsuther_95.sat.faidor.com (172.16.15.242) # Date: 2003/06/18 14:45:09 # Global parameters [global] workgroup = MYGROUP server string = Samba Server null passwords = Yes unix password sync = Yes log file = /usr/local/samba/var/log.%m max log size = 50 dns proxy = No [homes] comment = Home Directories valid users = %S read only = No browseable = No [moorej] comment = Home Directory path = /home/moorej valid users = moorej read only = No [tmp] comment = Temporary file space path = /tmp user = moorej --- Joel Hammer <Joel@HammersHome.com> wrote: Why don't you post your smb.conf? I avoid all password hassles with the following global and share definitions: [global] encrypt passwords = yes security = SHARE guest account = ftp [AllFiles] comment = All Files path = / read only = no guest ok = yes For a walk on the wild side, try making: guest account = root Joel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
If you are not using encryption (encryption = no) in smb.conf, you will need to use the plain text registry hack that is located in docs/registry, for the appropriate operating system (this is located in your Samba source dist). If you are, you need to make sure you have taken the appropriate steps as the person described below. Check your setting with bin/testparm in your Samba tree. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Wed, 18 Jun 2003, Tom McKellips wrote:> On Wed, 18 Jun 2003 20:37:03 GMT, Jerry Moore wrote > > Despite my efforts, over the last 3 days, to get my PC to mount even > > the simpiliest /tmp share from the HP server. I have failed. :( I > > have followed the DIAGNOSIS.txt by Andrew Tridgell and most of the > > tests work. Only when it comes to connecting from the PC do I get > > denied. ??? I have tried to set every know paramitter that remotely > > has to do with authenticating, without success. Restarts of smbd and > > nmbd were also done between each change. I have it wide-open and > > still I get denied. What is missing??? I have added account also > > using smbpasswd -a <user> also. On unix server mounts/logins work. > > Tests showing shares work on unix. Swat works on PC also. > > > > Running samba 2.2.3a on HP-UX 10.20. > > > > Installed as a pre-compiled depot. > > > > If I try to run net use on my PC. I get the following below. > > And yes. I am using my NT login password which is the same > > id and password on this unix server: > > > > -------------------------------------------------------------- > > C:\>net use x: \\199.254.200.1\tmp > > The password is invalid for \\199.254.200.1\tmp. > > > > Type the password for \\199.254.200.1\tmp: > > System error 1240 has occurred. > > > > The account is not authorized to login from this station. > > > > ------------------------------------------------------------------ > > > > Desperate help needed here. Leaving Friday. > > > > Jerry > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > You are logging in from a NT box? Do you have a machine trust set up in > smb.conf and a root in smbpasswd for machine trust account access? > > Tom > -- > Internet Service Provided By Abyss Communications > Internet Service only $10 a month > 1-866-842-2977 > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I was wondering if anyone had encountered this problem, when adding a Windows XP Pro client to a Samba 3 PDC. The user being used is Administrator, who has RID of 500, and is a member of Domain Admins. Backend is LDAP, and is in working order. smbldap-useradd.pl has been modified, so machine accounts are actually created correctly with it, but it's never actually run by the process. The only relevant log entries, I can find are: _samr_create_user: ACCESS DENIED (granted: 0x00000201; required: 0x00000010) 001c status: NT_STATUS_ACCESS_DENIED 0008 status: NT_STATUS_ACCESS_DENIED Can anyone enlighten me, what these are about? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: signature Url : http://lists.samba.org/archive/samba/attachments/20031017/a6944543/attachment.bin