Re: [Samba] AD + Samba/OpenLDAP

2010-06-22 Thread Jamrock
"Raul da Silva {Sp4wn}" wrote in message news:aanlktiktb3-jgczndyivjarfmj0soodqpfebmi3yo...@mail.gmail.com... > Hi all, > > Somebody knows if is it possible implement a replica sync between AD and > Samba3x/OpenLDAP using idmap backend to authenticate clients in > Samba3x/OpenLDAP server once was

Re: [Samba] Preventing characters in filenames...

2010-06-22 Thread John H Terpstra
On 06/22/2010 05:03 PM, Rod wrote: > Is there a way of preventing certain characters being used in filenames as > saved > by Samba? Basically I wish to prevent prevent files from being saved with the > characters ( ) * & in the name. Is this possible in Samba? > > Thanks, qt4. Yes, this is possi

[Samba] Preventing characters in filenames...

2010-06-22 Thread Rod
Is there a way of preventing certain characters being used in filenames as saved by Samba? Basically I wish to prevent prevent files from being saved with the characters ( ) * & in the name. Is this possible in Samba? Thanks, qt4. -- To unsubscribe from this list go to the following URL and read

[Samba] Solaris 10 Configuration file

2010-06-22 Thread Erickson, Dennis
I download the samba-3.5.3.tar and need to create the executables for Solaris 10. I do not have the gcc compiler and would like to use the SUNWspro/bin/cc compiler. What I need is a "MyConfigure" script that will create a usable Makefile. I don't need anything fancy like ldap, ads etc. I do ha

Re: [Samba] Samba not implementing "rights" correctly on server. Shouldn't it use "Capabilities" or equiv?

2010-06-22 Thread Linda W
(oops...end truncated, on prior) On Sunday 20/06/2010 at 10:52 pm, L. A. Walsh wrote: I assigned the "TakeOwnerShip" right ['Domain Admins']. I placed myself in that group. when I try taking ownership of [a] directory [owned by someone else, it] fails with a permission denied. [Why doesn't thi

[Samba] Samba not implementing "rights" correctly on server. Shouldn't it use "Capabilities" or equiv?

2010-06-22 Thread Linda W
On Sunday 20/06/2010 at 10:52 pm, L. A. Walsh wrote: I assigned the "TakeOwnerShip" right ['Domain Admins']. I placed myself in that group. when I try taking ownership of [a] directory [owned by someone else, it] fails with a permission denied. [Why doesn't this work?] If domain rights DON't w

Re: [Samba] one user member of multiple groups

2010-06-22 Thread mrdlnf
Hi Gaiseric n Michael, On Tue, Jun 22, 2010 at 8:02 PM, Michael Wood wrote: > On 22 June 2010 13:25, Gaiseric Vandal wrote: >> >> You should be able to have the unix user listed in multiple unix groups >> >> e.g >> cat /etc/passwd >> ... >> marketing:1500:user-1,user-2,user-3 >> ... > > That sho

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Jeremy Allison
On Tue, Jun 22, 2010 at 02:49:13PM -0700, Jeremy Allison wrote: > On Tue, Jun 22, 2010 at 05:37:08PM -0400, Eric Rowell wrote: > > Tried the following after poking around: > > > > rpcclient -c "setjob printer 1340 job_control_cancel" -U username > > PrinterServer > > > > rpcclient -c "setjob pr

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Jeremy Allison
On Tue, Jun 22, 2010 at 05:37:08PM -0400, Eric Rowell wrote: > Tried the following after poking around: > > rpcclient -c "setjob printer 1340 job_control_cancel" -U username > PrinterServer > > rpcclient -c "setjob printer 1340 job_control_delete" -U username > PrinterServer > > It doesn't e

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread John Drescher
On Tue, Jun 22, 2010 at 4:38 PM, Gaiseric Vandal wrote: > in smb.conf > >        wins support = Yes > > Don't set >            wins server = > > > I don't think the nsswitch.conf is an issue-  it seems like the client has > trouble finding the server.  Are you using dhcp?  If so, the DHCP ser

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Jeremy Allison
On Tue, Jun 22, 2010 at 05:21:22PM -0400, Eric Rowell wrote: > Jeremy, > WoW. It worked just as expected; > rpcclient -c "enumjobs printer" -U user printserver > >This worked great to get the list of the jobs on the print queue. > (too bad the "net" command doesn't support thi

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Eric Rowell
Tried the following after poking around: rpcclient -c "setjob printer 1340 job_control_cancel" -U username PrinterServer rpcclient -c "setjob printer 1340 job_control_delete" -U username PrinterServer It doesn't error but it didn't cancel or delete the job. On Tue, Jun 22, 2010 at 5:21 PM, E

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal
in smb.conf wins support = Yes Don't set wins server = I don't think the nsswitch.conf is an issue- it seems like the client has trouble finding the server. Are you using dhcp? If so, the DHCP server (even a unix one) should be able to assign WINS. If you are no

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Eric Rowell
Jeremy, WoW. It worked just as expected; rpcclient -c "enumjobs printer" -U user printserver This worked great to get the list of the jobs on the print queue. (too bad the "net" command doesn't support this) Now if I could just get the delete/cancel job command I would be g

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal
The "the semaphore timeout has expired" seems pretty significant. I bet it is related to the problem you have with your non-domain machines. I would google it.In fact I did- one post mentioned wins. Another post mentioned digital signing - which should NOT be an issue with XP and curr

Re: [Samba] wins or windbind problem? - help please

2010-06-22 Thread Pablo Chamorro C.
On Tue, 8 Jun 2010, Gaiseric Vandal wrote: WINS handles machine name resolution and locating domain controllers. WINS is a legacy of NT4 days when DNS was something for unix users only.You could probably work around the multiple WINS server issues by using lmhosts (I had some success with

Re: [Samba] smbclient queue command issue

2010-06-22 Thread Jeremy Allison
On Tue, Jun 22, 2010 at 02:57:52PM -0400, Eric Rowell wrote: > Help or suggestions please: > > When using smbclient to handle printing from a AIX system to a windows > print queue somethings work and others do not. I have been able to > print without issues to the windows print queue. But I cann

[Samba] Authentication

2010-06-22 Thread Keith Lynn
Is it possible to configure samba so that a printer that is shared requires a user on a windows sytem to authenticate every time they print? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba 3.5.2 getent passwd does not work

2010-06-22 Thread adrian . berlin
Yes and additional symlink libnss_wins.so.2 This issue is when I am joining to Windows 2008 R2 with trusted domain but in samba config trusted domains are disabled. Best regards Dnia 22 czerwca 2010 19:50 Chris Smith napisał(a): > On Mon, Jun 21, 2010 at 3:33 AM, adrian.berlin wrote: > > Yes,

[Samba] smbclient queue command issue

2010-06-22 Thread Eric Rowell
Help or suggestions please: When using smbclient to handle printing from a AIX system to a windows print queue somethings work and others do not. I have been able to print without issues to the windows print queue. But I cannot get a listing of the print jobs in a print queue. This is important

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal
On 06/22/2010 01:55 PM, John Drescher wrote: "An error occurred while reconnecting Z: to \\domain-fs\business Microsoft Windows Network: The specified network name is no longer available This connection has not been restored." Looks like a browsing problem to me. Try to reconnect using ip

[Samba] How do I get a real username in samba pdc instead of , , , ?

2010-06-22 Thread Aniruddha
Hi, I've got a Samba PDC running, there is one weird problem though . On all Windows machines it shows comma's like this: ,,, instead of the user name. I used the following commands to add users and groups: # net groupmap add ntgroup="Domain Admins" unixgroup=root rid=512 type=d # net groupmap

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread John Drescher
> "An error occurred while reconnecting Z: to \\domain-fs\business > Microsoft Windows Network: The specified network name is no longer available > This connection has not been restored." > Looks like a browsing problem to me. Try to reconnect using ip address instead of name. John -- To unsubscr

Re: [Samba] Samba 3.5.2 getent passwd does not work

2010-06-22 Thread Chris Smith
On Mon, Jun 21, 2010 at 3:33 AM, adrian.berlin wrote: > Yes, nsswitch is updated. > Any ideas? Is libnss_wins.so installed? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread Gaiseric Vandal
Which samba version? Are these XP Pro or XP Home machines. If XP Pro, have you tried joining the machine to the domain? When you map a drive letter to a samba share from XP, are you using "LocalPC\yourname" or "Domain\Yourname" when specifying credentials? Are you mapping the drive with W

Re: [Samba] one user member of multiple groups

2010-06-22 Thread Michael Wood
On 22 June 2010 13:25, Gaiseric Vandal wrote: > > You should be able to have the unix user listed in multiple unix groups > > e.g > cat /etc/passwd > ... > marketing:1500:user-1,user-2,user-3 > ... That should be /etc/group, and you've forgotten the (seldom used) password field. (Just to avoid c

[Samba] winbindd Idmap and smbd errors failures and warnings in logs

2010-06-22 Thread Jelle de Jong
Hello everybody, I configured a running samba server that seems to work, except that the logs are full with failures, errors and warnings. They seem to be related to winbindd idmap and smbd endpoints. I attached some of my debug information, can somebody help explaining these errors so I can try

Re: [Samba] how to make ms xp save login credentials

2010-06-22 Thread Jelle de Jong
Gaiseric Vandal wrote, on 18-06-10 13:28: > Add the following to the command > /persistent:yes > You can type "net /?" to get the possible options. You can also use > windows explorer to map drives. Thank you for the answer. Seems to do the trick. With kind regards, Jelle de Jong -- To u

[Samba] xp clients can't auth after reboot without smb restart

2010-06-22 Thread delpheye
I currently have several fresh installs of XP that will connect to shares, but will not reconnect after a workstation reboot. These are workstations that are not joined to the domain. Only accessing shares from a local profile, but using the same user/pass to login as to connect to Samba. I get

Re: [Samba] one user member of multiple groups

2010-06-22 Thread Gaiseric Vandal
You should be able to have the unix user listed in multiple unix groups e.g cat /etc/passwd ... marketing:1500:user-1,user-2,user-3 ... If the groups are mapped to windows groups (verify with "net groupmap list") that should be sufficient. On 06/21/2010 09:54 PM, mrdlnf wrote: Hi All

[Samba] Problem printing to windows printer

2010-06-22 Thread William Gibb
Hello, I've encountered a problem printing to a windows print share and am uncertain how to go about resolving my problem. From what I've been able to tell, the problem lies in samba. I've got a fedora 13 box with samba installed and running on it. My goal is to print to a windows print share.