[Samba] can't save 0 size file in samba 2.0.7

2006-07-03 Thread liu jack
Dear all: Now I use samba 2.0.7 for my file server,but I encounter some odd questions,hope to get your help. First question,if I creat one new NULL txt file in samba share folder whose filesystem is FAT,and I open the file in notepad in windows,type some characters,and save the file,b

[Samba] passdb expand explicit = yes

2006-07-03 Thread User 1
Hi All, When running testparm .. I met: passdb expand explicit = yes what does it mean? .. what should I do? could any body please help?.. Thanks & Regards Winanjaya [EMAIL PROTECTED] samba]# testparm -v Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing

[Samba] unable to smbpasswd -a

2006-07-03 Thread User 1
Dear Expert, I am very new with this, I was unable to smbpasswd -a .. could any body please help .. what have I missed? Thanks & Regards Win [EMAIL PROTECTED] guest]# smbpasswd -a user3 Failed to issue the StartTLS instruction: Protocol error Connection to LDAP server failed for the 1 try! New

Re: [Samba] ppp & winbind question

2006-07-03 Thread Andrew Bartlett
On Wed, 2006-06-14 at 13:37 +0300, Kryol wrote: > I need to authenticate ppp users in NT4 domain with winbind. I know about > ppp-winbind plugin but as I understand it is > a part of ppp-2.4.x. > On my FreeBSD 5.3.I have ppp-2.3 installed. Is it possible to use this plugin > under 2.3 or I need

[Samba] Re: Openning samba server to the Internet

2006-07-03 Thread Choi Shun-him
Hello, Have you tried to tunnel those 137-139 and 445 port over SSH? Here is a guide to that and it works for me using XP SP2, not sure if it is applicable to your windows server environment. http://www.blisstonia.com/eolson/notes/smboverssh.php Good luck. Him Yoav zuri wrote: Hello, I

[Samba] Default behavior of setting SUID bit in directories.

2006-07-03 Thread Edmundo Valle Neto
Hello. In the Samba by Example book theres a section called "Effect of Setting File and Directory SUID/SGID Permissions Explained", that shows an example of the effect of SUID/SGID bits. The SGID bit when setted in directories makes the files inherit the group owner, but I couldn't make

Re: [Samba] What the Administrator RID 500 is supposed to be able to do?

2006-07-03 Thread Edmundo Valle Neto
Answering my own question. I have found some related questions in the mailing list archive saying that RIDS doesn't change the behavior of the accounts to samba, only the way they appear to windows clients. Edmundo Valle Neto -- To unsubscribe from this list go to the following URL and read

[Samba] What the Administrator RID 500 is supposed to be able to do?

2006-07-03 Thread Edmundo Valle Neto
Hello. I have a samba PDC using an LDAP backend and everything is working perfectly. I'm using debian sarge as server with samba 3.0.14a and have populated the LDAP backend with smbldap-tools (smbldap-populate). I have readed the chapter 14 of TOSHARG, where it explains about privileges,

Re: [Samba] Print Options for All Users Can't Be Set on Windows 200x/XP

2006-07-03 Thread Adam Nielsen
> My problem is step I. Open the Printers folder > Where is this? the only thing I can find is "printers and faxes" in > control panels. Am I missing something really obvious? Yes - it's the same thing. It was renamed from "Printers" to "Printers and Faxes" in XP (or maybe Win2k) but everyone s

Re: [Samba] StartTLS failed when net getlocalsid

2006-07-03 Thread User 1
could any body please help me pls.. Thanks Win - Original Message - From: "User 1" <[EMAIL PROTECTED]> To: Sent: Monday, July 03, 2006 7:19 PM Subject: [Samba] StartTLS failed when net getlocalsid > > > I am trying samba ldap as pdc on my FC5, when net getlocalsid .. I got below > er

[Samba] passwd: Authentication token manipulation error

2006-07-03 Thread Paul Matthews
hi there, I've got my RHEL4 Mail server authenticating against Active directory using winbind. When I login and try and reset my password using the 'passwd' command I get this error message. passwd: Authentication token manipulation error Is there something i'm meant to do before I can change m

[Samba] Print Options for All Users Can't Be Set on Windows 200x/XP

2006-07-03 Thread tony kidd
Hi everyone This is a simple question by a person who knows nothing about windows. The solution is at http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS- printing.html#id2618536 Under the heading Print Options for All Users Can't Be Set on Windows 200x/XP My problem is step I.

[Samba] cannot login to swat as root

2006-07-03 Thread Per olof Ljungmark
Samba 3.0.22 configured as as BDC. Can login to swat as any user *except* root/Administrator. What is even more puzzling is we have another machine with identical (well, almost it seems) configuration and no problem logging in as root. Could someone please advise where I should look? There ar

[Samba] Re: How to join a domain without using root?

2006-07-03 Thread Steve A
John H Terpstra wrote: > On Monday 03 July 2006 13:45, Steve A wrote: >> This is part of a larger post that was maybe too complicated for me to >> get the right answer, so I'm breaking it down and will do it bit by bit. >> >> Server is Samba-3 PDC, clients are NT4 & XP. >> >> I can join the domain

[Samba] Cannot join win2k ADS

2006-07-03 Thread Alon Rubinstein
Hi I am having a real nightmare over this: Setup is : win2k as ADS server linux samba server is: # smbd --version Version 3.0.14a-Ubuntu kerberos: # klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: [EMAIL PROTECTED] Valid starting ExpiresService principal 07/03/06 09

[Samba] Ldap Servers [net_auth2: creds_server_check failed]

2006-07-03 Thread Daniel Martin
Hi all! I´m having problems upgranding from samba samba 2.2.12 + Ldap 2.0 to Samba 3.0.22 + OpenLDAP 2.1.30 (all using Debian Sarge) I was able to upgrade everything in my H.Q. But in the branch offices, where I´m using servers as BDCs, the XP clients are not able to logon. I´ve seen similar

Re: [Samba] snprintf.c:(.text+0x14): undefined reference to `VA_COPY'

2006-07-03 Thread Randy Parker
There was an #endif missing on the bottom but when I added that it compiled perfectly. MANY THANKS! Randy ---begin quoted text--- > Delivered-To: [EMAIL PROTECTED] > Date: Mon, 3 Jul 2006 08:52:02 +1000 > From: Adam Nielsen <[EMAIL PROTECTED]> > To: "Randy Parker" <[EMAIL PROTECTED]> > Cc: samba@

RE: [Samba] Samba and trusted domains

2006-07-03 Thread Nir Barkan
I disabled the nscd. Restarted winbind (with debug=5) Running id give the same results = id: invalid user name: "EU15\test1" Nothing written on the winbind debug Nir -Original Message- From: Michael Gasch [mailto:[EMAIL PROTECTED] Sent: Monday, July 03, 2006 5:32 PM To: Nir Barkan Cc:

RE: [Samba] Samba and trusted domains

2006-07-03 Thread Nir Barkan
Nscd is running This is my nsswitch.conf: # /etc/nsswitch.nis: # # An example file that could be copied over to /etc/nsswitch.conf; it # uses NIS (YP) in conjunction with files. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "

RE: [Samba] Samba and trusted domains

2006-07-03 Thread Nir Barkan
id EU15\\test1 gives: id: invalid user name: "EU15\test1" When running the id command, nothing written on the winbind debug Nir -Original Message- From: Michael Gasch [mailto:[EMAIL PROTECTED] Sent: Monday, July 03, 2006 2:31 PM To: Nir Barkan Cc: samba@lists.samba.org Subject: Re: [S

RE: [Samba] Samba and trusted domains

2006-07-03 Thread Nir Barkan
Now I don't have idmap errors, but the user from the trusted domain still can't connect, this is what the debug logs when the user from the trusted domain tries to connect: Added domain EU15 wineur.EU15.com S-1-5-21-2139401007-2349514585-891123631 [0]: request interface version [0]: reques

Re: [Samba] How to join a domain without using root?

2006-07-03 Thread John H Terpstra
On Monday 03 July 2006 13:45, Steve A wrote: > This is part of a larger post that was maybe too complicated for me to get > the right answer, so I'm breaking it down and will do it bit by bit. > > Server is Samba-3 PDC, clients are NT4 & XP. > > I can join the domain using root credentials (so the

[Samba] Samba + (ACL=off)

2006-07-03 Thread TSZ
Hello, Sorry, if you have recived this message already, but I have problem with my email service. Could you tell am I right in case: I am not able to add other users/groups than unix's user: owner,owner's group and others to folders/files localized on Samba server, despite doing that as root

Re: [Samba] Samba file server authenticated via active directory

2006-07-03 Thread Ty Norton
Sure does. Just can't authenticate using a windows box. -Ty On 7/3/06, Henrik Zagerholm <[EMAIL PROTECTED]> wrote: And getent passwd retrieves the domain accounts also? This was at least my problem... :) Cheers, Henrik 3 jul 2006 kl. 18:47 skrev Ty Norton: > I am using winbind to retrieve c

[Samba] Cannot join win2k ADS

2006-07-03 Thread Alon Rubinstein
Hi I am having a real nightmare over this: Setup is : win2k as ADS server linux samba server is: # smbd --version Version 3.0.14a-Ubuntu kerberos: # klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: [EMAIL PROTECTED] Valid starting ExpiresService principal 07/03/06 09

Re: [Samba] Samba file server authenticated via active directory

2006-07-03 Thread Henrik Zagerholm
And getent passwd retrieves the domain accounts also? This was at least my problem... :) Cheers, Henrik 3 jul 2006 kl. 18:47 skrev Ty Norton: I am using winbind to retrieve credentials. The times are in sync, and I can get smbclient on localhost to authenticate using AD names if i set security

[Samba] Re: Trouble with PDC

2006-07-03 Thread Steve A
Pas XL wrote: > Samba is up and working, but when i'm trying to connect to Domain > controller through XP Pro SP2's Identification Wizard it shows error > "Can't connect to Domain Controller.". Ethereal is catching NetBios Name > queries to my server, but server responding "Name does not exist or >

[Samba] Re: How to join a domain without using root? (Correction)

2006-07-03 Thread Steve A
Steve A wrote: > if I change the unix uid/gid for 'administrator' - it works. If I change the unix uid/gid for 'administrator to 0:0 - it works. Steve :) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] How to join a domain without using root?

2006-07-03 Thread Steve A
This is part of a larger post that was maybe too complicated for me to get the right answer, so I'm breaking it down and will do it bit by bit. Server is Samba-3 PDC, clients are NT4 & XP. I can join the domain using root credentials (so the add machine script works), but not when using 'admini

[Samba] Trouble with PDC

2006-07-03 Thread Pas XL
I'm using SAMBA Version 3.0.22-11-SUSE-CODE10 Samba is up and working, but when i'm trying to connect to Domain controller through XP Pro SP2's Identification Wizard it shows error "Can't connect to Domain Controller.". Ethereal is catching NetBios Name queries to my server, but server respondi

RE: [Samba] cifs mounts in smbfstab

2006-07-03 Thread James D. Parra
> I have the following in /etc/samba/smbfstab; Don't you mean /etc/fstab? > //msserver/share /mnt/smb-sharecifs > file_mode=0777,dir_mode=0777,credentials=/etc/cifsusers/admin,rw > > However, when using 'mount /mnt/smb_dir' I get; Why are you mounting /mnt/smb_dir, when you've entered

RE: [Samba] mounting error with credentials

2006-07-03 Thread James D. Parra
> error 2 opening credential file. > The file in question has root permissions. > -rw--- 1 root root 49 Jun 30 09:47 admin > > Any clues on how to fix this? >What are the permissions of the directory itself? Mine has g+x >permission too (i.e. chmod 710) but I'm not precisely sure why...

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug VanLeuven wrote: >> For the record, this is what WinXP does as well. >> You cannot join a WinXP box to a domain using a non-admin >> account if the client's FQDN is outside the AD domain. >> >> I agree this is a change from previous Samba version

[Samba] Samba and CUPS

2006-07-03 Thread Carlos Eduardo Pedroza Santiviago
Hi, I'd like to know if it's possible to configure samba to not list classes stored in CUPS? I've a lot of classes here, and listing printers shared on my samba server takes some time... where it should list only the printer queues and not printer queues plus classes. Thanks. -- To unsubscribe f

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Doug VanLeuven
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik, You were right. ( as usual.. ) I had the wrong FQDN on the samba server. After reconfiguring my network and I got the FQDN back from 'hostname' the join worked as planned. For the record, this is what WinXP d

Re: [Samba] Samba file server authenticated via active directory

2006-07-03 Thread Ty Norton
I am using winbind to retrieve credentials. The times are in sync, and I can get smbclient on localhost to authenticate using AD names if i set security = share. I cannot get a windows machine to auth using the same settings.. Very odd. ideas? -Ty On 6/28/06, updatemyself . <[EMAIL PROTECTED]>

SOLVED Re: [Samba] Can't connect to Domain Member Samba server 3.0.23rc3

2006-07-03 Thread Henrik Zagerholm
Hi again, I solved my problem. I haven't linked the libnss_winbind.so correctly for the getent passwd to work correctly. After new linking it worked. Cheers, Henrik 3 jul 2006 kl. 16:44 skrev Henrik Zagerholm: Hi list, I followed Chapter 6 in the Samba how-to collection and I have succe

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
nir, i´m sorry now... please follow the samba howto guide line regarding section idmap backend. your setup is working for me here. if nothing is written to winbindd, you have a major and substantial problem, which i cannot fix from here... sometimes restarting my linux machine fixed a problem

[Samba] Can't connect to Domain Member Samba server 3.0.23rc3

2006-07-03 Thread Henrik Zagerholm
Hi list, I followed Chapter 6 in the Samba how-to collection and I have successfully joined my samba server to my w2k3 domain. The kerberos tickets works as planed as I can connect to my DC from samba with kerberos authentication. BUT I can't seem to connect from Windows to the samba serv

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik Zagerholm wrote: > > Just got a little curious on the "non-admin" part. > I used the domain bultin Administrator account to join > the domain. I know this account is member of both > domain admin and enterprise admins. > > BTW Does this accou

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
if you´re running winbindd there´s no need to run nscd. it´s a common problem and you should really avoid using it, unless you have a real reason. disable it and run id again greez Nir Barkan wrote: Nscd is running This is my nsswitch.conf: # /etc/nsswitch.nis: # # An example file that cou

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Henrik Zagerholm
3 jul 2006 kl. 15:54 skrev Gerald (Jerry) Carter: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik, You were right. ( as usual.. ) I had the wrong FQDN on the samba server. After reconfiguring my network and I got the FQDN back from 'hostname' the join worked as planned. For the record

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik, > You were right. ( as usual.. ) > I had the wrong FQDN on the samba server. > After reconfiguring my network and I got the FQDN back > from 'hostname' the join worked as planned. For the record, this is what WinXP does as well. You cannot j

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Henrik Zagerholm
Hi jerry, You were right. ( as usual.. ) I had the wrong FQDN on the samba server. After reconfiguring my network and I got the FQDN back from 'hostname' the join worked as planned. Thanks, Henrik 3 jul 2006 kl. 13:45 skrev Gerald (Jerry) Carter: -BEGIN PGP SIGNED MESSAGE- Hash: SH

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
> When running the id command, nothing written on the winbind debug looks like a prob with NSS and winbindd... what looks your nsswitch.conf like? do you use nscd? greez Nir Barkan wrote: id EU15\\test1 gives: id: invalid user name: "EU15\test1" When running the id command, nothing written o

[Samba] StartTLS failed when net getlocalsid

2006-07-03 Thread User 1
I am trying samba ldap as pdc on my FC5, when net getlocalsid .. I got below error message: [EMAIL PROTECTED] guest]# net getlocalsid [2006/07/03 19:22:59, 0] lib/smbldap.c:smb_ldap_start_tls(546) Failed to issue the StartTLS instruction: Protocol error SID for domain SAMBA is: S-1-5-21-1251459

[Samba] file permissions change to readonly

2006-07-03 Thread Ashish Tyagi
Hi I have installed samba-3.0.11-5.of.2 on RHEL-3.windows 2003 is being used for authentication (security=ADS). i have a share 'test' and have given rwx permission to parent group and one other group.SGID bit is set on this share. when someone from either group create a Microsoft Excel file in t

Re: [Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik Zagerholm wrote: > Hi list, > > I get this error when joining my samba server > to the domain. > > Failed to set servicePrincipalNames. Only NTLM authentication > will be possible. Please ensure that the DNS domain of > this server matches th

RE: [Samba] Samba and DOS databases (Benckmark results)

2006-07-03 Thread Robert Mortimer
To run our overnight updates the NT4 server took 15min With the same data and oplocks enabled the SAMBA server takes 9min but in this configuration users are complaining of initial application load times SAMBA with oplocks 1 disabled results in a time of 11 min Disabling oplocks 2 results in a

[Samba] Problem with pam_mkhomedir.so on Solaris 9

2006-07-03 Thread Kleber Leal
Hi all, I wanna install Samba on Solaris 9 to integrate all authentication on Active Directory. I am using this the configuration: /usr/local/samba/lib/smb.conf [global] workgroup = SEDE server string = Samba Server security = domain load printers = no log file = /usr/local/samba/va

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
looks good, but the log isn´t very informative. what does now "id EU15\\test1" on the member server say? winbindd has to allocate an uidnumber for this user. greez Nir Barkan wrote: Now I don't have idmap errors, but the user from the trusted domain still can't connect, this is what the debu

[Samba] Limit on number of Windows shares that can be mounted?

2006-07-03 Thread rick ostrow
Did you ever get this resolved, I am experiencing a similar problem. My Linux machine (Gentoo) is reporting this message when mounting the fourth smbfs system. Does not matter which order I mount in, whatever is the fourth mount refuses to work. [EMAIL PROTECTED] -- To unsubscribe f

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
for trusted domains to work you have to use either tdbsam or ldap backend. don´t know whether ad works, though. this should work for you: # idmap backend = # please comment out for tdbsam idmap uid = 1-10 idmap gid = 1-10 winbind use default

[Samba] Create a share - permissions

2006-07-03 Thread Morné du Plessis
Hi I am having problems with permissions when creating a share on a Linux Server. The permissions changes every time from: drwxr-wxr-wxr to drwxr-xr-x (chmod 777 or chmod a+wrx) I can access the share, but I cannot create new files, copy etc. Mandrake 10.0 for i586 Umask = u=rwx,g=rx,o=rx K

Re: [Samba] Gathering more information about authenticated domain users

2006-07-03 Thread Henrik Zagerholm
Well, as I understood you Q you wanted to retrieve info about your AD users correct? You can do this with LDAP sql questions straight from PHP. (I know there are at least one LDAP modul for PHP as I have used it in LDAP authentication from within PHP) You can also use almost any other langu

Re: [Samba] Gathering more information about authenticated domain users

2006-07-03 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah ok, so the "key" to Windows Domain in this case is using LDAP. Do you know of any documentation *specific* to using ldap on window from within linux? thank you very much, - - Markus Henrik Zagerholm wrote: > Hi, > > It is pretty easy to program y

[Samba] Failed to set servicePrincipalNames 3.023rc3

2006-07-03 Thread Henrik Zagerholm
Hi list, I get this error when joining my samba server to the domain. Failed to set servicePrincipalNames. Only NTLM authentication will be possible. Please ensure that the DNS domain of this server matches the AD domain, Or rejoin with using Domain Admin credentials. Joined 'CUBE' to realm '

Re: [Samba] Samba and trusted domains

2006-07-03 Thread Michael Gasch
:) > idmap backend = ITGIL=1-1,EU15=2-3 this is not correct semantic ;) example: idmap backend = rid:"BUILTIN=1000-1999,DOMNAME=2000-1" this should work greez Nir Barkan wrote: I added the idmap backend to my smb.conf as you suggested idmap backend = ITGIL=1-19

Re: [Samba] Gathering more information about authenticated domain users

2006-07-03 Thread Henrik Zagerholm
Hi, It is pretty easy to program yourself but you can also use tools like this one. http://sourceforge.net/projects/phpldapadmin Cheers, Henrik 3 jul 2006 kl. 07:55 skrev Markus Fischer: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm currently positively having winbind authenticat