Re: [Samba] Mac OS X status

2011-04-03 Thread Volker Lendecke
On Sun, Apr 03, 2011 at 03:25:57PM +0900, TAKAHASHI Motonobu wrote:
> Recently I play with Mac OS X and find some major issues:
> I reported the most major issue as BUG#8042:
> 
> Newly create files are always failed with NT_STATUS_FILE_IS_A_DIRECTORY
> 
> 
> I found other issues with Samba 3.5.8 and Mac OS X 10.6.7: 
> 
> - --with-readline (default) causes compile error so explicitly
>   --without-readline is needed.
> 
> And with Mac OS X 10.4.11 on ppc and older versions of Samba, there
> are some other major issues...
> 
> Does anyone actually use self-compiled Samba on Mac OS X ??

As already written in the bug report: I think I need access
to such a box to really diagnose this. I don't have current
OS/X available unfortunately, just an older version.

Sorry,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Mac OS X status

2011-04-03 Thread TAKAHASHI Motonobu
From: Volker Lendecke 
Date: Sun, 3 Apr 2011 09:20:45 +0200,Sun, 3 Apr 2011 09:20:45 +0200

> On Sun, Apr 03, 2011 at 03:25:57PM +0900, TAKAHASHI Motonobu wrote:
> > Does anyone actually use self-compiled Samba on Mac OS X ??
> 
> As already written in the bug report: I think I need access
> to such a box to really diagnose this. I don't have current
> OS/X available unfortunately, just an older version.

I'm wondering why nobody reports such a major and obvious problem.

Actually I am not a Mac OS X user, only use for testing purpose (the
main purpose is not related to Samba) now.

Before posting a bug report, I look at this list and other resources
but no one mentioned such issues. Most of discussions about Mac OS X
are issues about client side, for example how to connect to Windows
share from Mac OS X.

So I can hardly say that people use self-compiled Samba on Mac OS X...

---
TAKAHASHI Motonobu 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Mac OS X status

2011-04-03 Thread Volker Lendecke
On Sun, Apr 03, 2011 at 05:43:45PM +0900, TAKAHASHI Motonobu wrote:
> > As already written in the bug report: I think I need access
> > to such a box to really diagnose this. I don't have current
> > OS/X available unfortunately, just an older version.
> 
> I'm wondering why nobody reports such a major and obvious problem.
> 
> Actually I am not a Mac OS X user, only use for testing purpose (the
> main purpose is not related to Samba) now.
> 
> Before posting a bug report, I look at this list and other resources
> but no one mentioned such issues. Most of discussions about Mac OS X
> are issues about client side, for example how to connect to Windows
> share from Mac OS X.
> 
> So I can hardly say that people use self-compiled Samba on Mac OS X...

Obviously that's really rare. I think I fixed the problem
with

https://bugzilla.samba.org/attachment.cgi?id=6370

Please give it a try.

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Win 7 Pro creating new profile caches

2011-04-03 Thread Joe
I’ve had issues with Win 7 logging on slowly after I’ve included it in my PDC 
(samba v3.4.9-60).  After some googling I found this link:

http://blog.bigsmoke.us/2010/03/17/fixing-extremely-slow-domain-logon-windows-7

I tried it out and I thought my problem had been fixed after I rebooted and 
logged into my computer once.  A few days ago I tried doing the same thing 
again and it was again dirt slow to log in.  Yesterday I noticed there were a 
number of instances of my user cache in the computer (user.DOMAIN, 
user.DOMAIN.001, user.DOMAIN.002, etc.) – I suspect these directories were 
being created as I logged in each time.

Has anyone seen this?

Thanks,

- Joe
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Mac OS X status

2011-04-03 Thread TAKAHASHI Motonobu
From: Volker Lendecke 
Date: Sun, 3 Apr 2011 14:13:37 +0200,Sun, 3 Apr 2011 14:13:37 +0200

> > So I can hardly say that people use self-compiled Samba on Mac OS X...
> 
> Obviously that's really rare. I think I fixed the problem
> with
> 
> https://bugzilla.samba.org/attachment.cgi?id=6370
> 
> Please give it a try.

Thanks, this issue becomes fixed.

BTW in my ppc environment (Mac OS X 10.4.11), nmbd of Samba 3.5.8
cannot run.

# touch /usr/local/samba/lib/smb.conf
# /usr/local/samba/sbin/nmbd -D
Segmentation fault
# /usr/local/samba/sbin/nmbd -V
Segmentation fault

No log files were created. And kdump showed:

-
(snip)
 26352 nmbd CALL  open(0x1101060,0,0)
 26352 nmbd NAMI  "/usr/local/samba/lib/upcase.dat"
 26352 nmbd RET   open 4
 26352 nmbd CALL  mmap(0,0x2,0x1,0x1,0x4,0)
 26352 nmbd RET   mmap 3485696/0x353000
 26352 nmbd CALL  close(0x4)
 26352 nmbd RET   close 0
 26352 nmbd CALL  open(0x1100d60,0,0)
 26352 nmbd NAMI  "/usr/local/samba/lib/lowcase.dat"
 26352 nmbd RET   open 4
 26352 nmbd CALL  mmap(0,0x2,0x1,0x1,0x4,0)
 26352 nmbd RET   mmap 3616768/0x373000
 26352 nmbd CALL  close(0x4)
 26352 nmbd RET   close 0
 26352 nmbd PSIG  SIGSEGV SIG_DFL
-

Have you met same issue?

H, maybe no one compiled Samba on Mac OS X recently...

---
TAKAHASHI Motonobu 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Can't get 'dos filemode' to work as expected

2011-04-03 Thread TAKAHASHI Motonobu
From: Felix 
Date: Wed, 30 Mar 2011 17:05:53 + (UTC)

> On Fri, 25 Mar 2011 22:43:38 +0900, TAKAHASHI Motonobu wrote:
> 
> > From: Felix Brack 
> > Date: Thu, 24 Mar 2011 10:09:53 +0100
> > 
> >> After an upgrade to samba 3.5.8 (from 3.2.5) the option 'dos filemode'
> >> does not seem to work anymore. If I (as a user) do not own the file I
> >> can't change permissions.
(snip)
> I just double checked but the problem remains: I can do things if the 
> share is owned by myself ('felix') but not if it is owned by 'root' if me 
> having access by being a member of supplementary group 'Development'.
> 
> Using debug level 3 on the samba server I found this:
(snip)

Please show the minimum set to reproduce for example smb.conf
including [global] section.

As I showed in my previous mail, in order to reproduce, I set the
empty [global] section.

And what is your platform? / The shared file path is located locally?

---
TAKAHASHI Motonobu 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Winbind cached account locked out

2011-04-03 Thread Beli

Hi there,

we have a few SuSE Linux Enterprise Desktop 11 SP1 machines with Samba 
3.4.3 joined to Windows Server 2003 domain. The domain has some strict 
password policies, like limited password tries before account is locked 
for a few minutes.
It works fine when doing online authentication against the domain 
controllers.
The problem rises with cached offline logon. Offline logon works, but 
when user enters bad password enough times, winbind locks him out, as if 
it were enforcing the password policies of the domain even for offline 
logon. But after the time set in "lockout duration" has passed, the 
account remains locked (even after very long waiting), and gets unlocked 
only after connecting to the network and authenticating against the 
domain again.

So I'd like to ask
- if it's possible to unlock a cached domain account locally (as root, 
without connection to the domain controllers)
- why doesn't the account unlock automatically after the "lockout 
duration" has passed (is this functionality not implemented, or I should 
check my settings?)


I tried googling hard and searched through all the relevant 
documentation, but found very little info on the credentials caching in 
samba/winbind. I even tried to look at the TDB databases of which I 
think netsamlogon_cache.tdb holds the cached account info and the 
lockout flag, to see if I could unlock the account manually in there, 
but I just couldn't make out anything useful from the binary data there. 
So any help would be greatly appreciated. Thank you in advance. Have a 
nice day.


--
Beli - IT consultant
beli+...@beli.sk | www.beli.sk

--
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.2.15 : DOS charset problem on powerpc big endian architecture

2011-04-03 Thread TAKAHASHI Motonobu
From: Volker Lendecke 
Date: Thu, 31 Mar 2011 10:47:17 +0200,Thu, 31 Mar 2011 10:47:17 +0200

> On Mon, Mar 28, 2011 at 06:18:39PM +0200, Gérard Guével wrote:
> > 
> > With a default CP850 dos charset, I can't connect and receive a "protocol
> > negotiation failed" error message
> 
> Can you reproduce this with 3.5.8? 3.2.15 is pretty old
> these days.

As far as I examined, Samba 3.2.15 on Mac OS X 10.4.11 (PowerPC),
setting "dos charset = CP850" works.

But as I mentioned before: 
  http://lists.samba.org/archive/samba/2011-April/161966.html
nmbd cannot run, only smbd can run.

My smb.conf:

-
[global]
  dos charset = CP850

[homes]
  writeable = yes
  browseable = no
-

And I met these errors:

-
ibook:/usr/local/samba root# sbin/smbd -D
dyld: Library not loaded: bin/libtalloc.dylib.1
  Referenced from: /usr/local/samba-3.2.15/sbin/smbd
  Reason: image not found
Trace/BPT trap
-

These operations below solved this issue but why?

-
# cd /usr/local/samba/bin
# ln -s ../lib/*.1 .
# cd /usr/local/samba; sbin/smbd -D
-

---
TAKAHASHI Motonobu 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Scannedonly: Unable to compile on Samba v3.5.8 [scannedonly.so] Error 1

2011-04-03 Thread David Touzeau
Dear

I'm trying to compile scannedonly 0.21 on samba v3.5.8 on Ubuntu 8.10
i386
But i receive errors.

Can anybody help me...

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strndup... yes
checking for send... yes
checking for gethostbyname... yes
checking for cl_scanfile in -lclamav... yes
checking clamav.h usability... yes
checking clamav.h presence... yes
checking for clamav.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for maxratio field in cl_limits struct... no
checking for cl_init in -lclamav... yes
Build scannedonlyd_clamav ... yes
checking talloc.h usability... yes
checking talloc.h presence... yes
checking for talloc.h... yes
checking for _talloc_free in -ltalloc... yes
testing
for /usr/local/share/samba/samba-3.5.8/source3/lib/tdb/include/tdb.h
samba 3.4 detected
Build samba vfs module scannedonly.so ... yes
configure: creating ./config.status
syntax error. Last token seen: u
Garbled time
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
make[1]: Entering directory
`/tmp/artica/install/sources/scannedonly/scannedonly-0.21/man'
gzip -9 < scannedonly_prescan.8 > scannedonly_prescan.8.gz
gzip -9 < scannedonlyd_clamav.8 > scannedonlyd_clamav.8.gz
make[1]: Leaving directory
`/tmp/artica/install/sources/scannedonly/scannedonly-0.21/man'
make[1]: Entering directory
`/tmp/artica/install/sources/scannedonly/scannedonly-0.21/src'
gcc -g -O2 -Wall -pipe -c -o scannedonly_prescan.o scannedonly_prescan.c
gcc   -lclamav -lnsl -ltalloc -o scannedonly_prescan
scannedonly_prescan.o
gcc -g -O2 -Wall -pipe -c -o scannedonlyd_clamav.o scannedonlyd_clamav.c
scannedonlyd_clamav.c: In function ‘push_to_queue’:
scannedonlyd_clamav.c:123: warning: implicit declaration of function
‘strdup’
scannedonlyd_clamav.c:123: warning: incompatible implicit declaration of
built-in function ‘strdup’
scannedonlyd_clamav.c: In function ‘handle_file_warning’:
scannedonlyd_clamav.c:455: warning: implicit declaration of function
‘snprintf’
scannedonlyd_clamav.c:455: warning: incompatible implicit declaration of
built-in function ‘snprintf’
scannedonlyd_clamav.c: In function ‘main’:
scannedonlyd_clamav.c:1040: warning: incompatible implicit declaration
of built-in function ‘strdup’
scannedonlyd_clamav.c:1145: warning: incompatible implicit declaration
of built-in function ‘strdup’
gcc   -lclamav -lnsl -ltalloc -o scannedonlyd_clamav
scannedonlyd_clamav.o
gcc -g -O2 -Wall -pipe -fpic -c -o vfs_scannedonly.o vfs_scannedonly.c
-I /usr/local/share/samba/samba-3.5.8/source3
-I /usr/local/share/samba/samba-3.5.8/source3/../
-I /usr/local/share/samba/samba-3.5.8/source3/include
-I /usr/local/share/samba/samba-3.5.8/source3/../lib/replace
-I /usr/local/share/samba/samba-3.5.8/source3/opt
-I /usr/local/share/samba/samba-3.5.8/source3/librpc
-I /usr/local/share/samba/samba-3.5.8/source3/../lib/tdb/include/
-I /usr/local/share/samba/samba-3.5.8/source3/../lib/talloc/
-I /usr/local/share/samba/samba-3.5.8/source3/../lib/popt/
-I /usr/local/share/samba/samba-3.5.8/source3/../lib/tevent/ 
vfs_scannedonly.c:414:53: error: macro "SMB_VFS_NEXT_STAT" passe

Re: [Samba] Winbind cached account locked out

2011-04-03 Thread Bob Miller
Hi,
>  So I'd like to ask
>  - if it's possible to unlock a cached domain account locally (as root, 
>  without connection to the domain controllers)

I am not familiar with joining active directory or offline caching, but
I do know that the pdbedit command allows to manipulate the account
lockout mechanism.  perhaps that will help in your case...

Bob Miller
334-7117/660-5315
http://computerisms.ca
b...@computerisms.ca
Network, Internet, Server,
and Open Source Solutions

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Scannedonly: Unable to compile on Samba v3.5.8 [scannedonly.so] Error 1

2011-04-03 Thread Daniel Deptuła

W dniu 2011-04-03 19:06, David Touzeau pisze:

Dear

I'm trying to compile scannedonly 0.21 on samba v3.5.8 on Ubuntu 8.10
i386
But i receive errors.

Can anybody help me...



Hi,

The vfs_scannedonly is already included in the official samba release 
(in samba 3.5) so you need to compile only the scannedonly daemon. Don't 
append the --with-samba-source argument when you run the configure script.


BR,
Daniel

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FW: ACL Lost and unable to set rights from explorer (xp)

2011-04-03 Thread L . P . H . van Belle
Lol, yes the same typo here, but its corrected in my smb.conf en tested it.
( my english is not that good )

Now only my main problem, why i cant set my rights any more. 
checked everything, fstab is ok, acl and user_xattr, 
rights on folders, checked als from console. 
Im lost in this one. I must fix it because is on my mijn PDC.

so if someone has any idees, please trow them at me. ;-) 

Louis





>-Oorspronkelijk bericht-
>Van: hul...@t-online.de [mailto:samba-boun...@lists.samba.org] 
>Namens Helmut Hullen
>Verzonden: 2011-04-03 04:59
>Aan: samba@lists.samba.org
>Onderwerp: Re: [Samba] FW: ACL Lost and unable to set rights 
>from explorer (xp)
>
>Hallo, L.P.H.,
>
>Du meintest am 02.04.11:
>
>> Ok problem 2 is solved, made a typo in disabling the unix extentions.
>
>> this works.
>> (in global)
>> unix extentions = no
>
>Sure?
>
>My samba (3.5.7) uses "unix extensions", with 1 t.
>
>Viele Gruesse!
>Helmut
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] Samba4 AD/LDAP question

2011-04-03 Thread Aly Khimji
Hi guys,

First time poster so I do apologize if this question has been asked before.

In a test set up we are trying to use samba4 to authenticate a small network
with Linux, Win, and OSX clients. I have successfully deployed samba4 in
domain controller mode, can attach windows machines to it, manage the DC via
windows tools.
We can also join Linux servers to the domain, however my problem is as
follows, When attempting to log into a Linux server, excluding local users,
the only directory user that can log in is the Administrator. Any other
directory user that attempts to log in gets a "No Logon Servers", however if
move that same user into the Domain Admins group they can log in with no
issues (yes as UID=0) as reported in /var/log/secure.

Can someone please explain why this happens, and what step have i missed
that would allow regular users to log in?

That being said, my second question is, if it possible to have the samba4
server in domain controller mode, but have Linux clients authenticate via
ldap as appose to winbind?
For example, when configuring an authentication method if it would possible
to use LDAP instead of samba/winbind? I tried to configure LDAP (correct
base, host, uri, etc..) but when it doesn't seem to pull any info? eg id or
getent doesn't work.

Any pointers are greatly appreciated, I am just testing out
the capabilities of 4, i understand its still in Alpha but hope you guys
might have some experience with it.

Thanks

Aly
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4 AD/LDAP question

2011-04-03 Thread Taylor, Jonn
On 04/03/2011 07:24 PM, Aly Khimji wrote:
> Hi guys,
>
> First time poster so I do apologize if this question has been asked before.
>
> In a test set up we are trying to use samba4 to authenticate a small network
> with Linux, Win, and OSX clients. I have successfully deployed samba4 in
> domain controller mode, can attach windows machines to it, manage the DC via
> windows tools.
> We can also join Linux servers to the domain, however my problem is as
> follows, When attempting to log into a Linux server, excluding local users,
> the only directory user that can log in is the Administrator. Any other
> directory user that attempts to log in gets a "No Logon Servers", however if
> move that same user into the Domain Admins group they can log in with no
> issues (yes as UID=0) as reported in /var/log/secure.
>
> Can someone please explain why this happens, and what step have i missed
> that would allow regular users to log in?
>
In smb.conf set
template shell = /bin/bash
> That being said, my second question is, if it possible to have the samba4
> server in domain controller mode, but have Linux clients authenticate via
> ldap as appose to winbind?
You have to use winbind or you will not get the right id mapping.
[global]
workgroup =  EXAMPLE
realm = EXAMPLE.COM
security = ADS
password server = 192.168.173.10
log file = /var/log/samba/samba3.log
ldap ssl = no
idmap backend = idmap_rid:EXAMPLE=500-400
idmap uid = 500-400
idmap gid = 500-400
template homedir = /home/%U
template shell = /bin/bash
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind offline logon = Yes

> For example, when configuring an authentication method if it would possible
> to use LDAP instead of samba/winbind? I tried to configure LDAP (correct
> base, host, uri, etc..) but when it doesn't seem to pull any info? eg id or
> getent doesn't work.
In /etc/nsswitch.conf
passwd: files winbind
shadow: files winbind
group:  files winbind

and link 2 modules, these are for a 64 bit system, if yours is not just
remove 64 from the links

ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so

ln -s /usr/local/samba/lib/pam_winbind.so /lib64/security/pam_winbind.so

> Any pointers are greatly appreciated, I am just testing out
> the capabilities of 4, i understand its still in Alpha but hope you guys
> might have some experience with it.
>
> Thanks
>
> Aly
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4 AD/LDAP question

2011-04-03 Thread Aly Khimji
Hi John,
thanks for the feed back, I continued to have issues, then I realized I was
missing the library in question and after a quick google realized I had
samba/samba-winbind installed from repo but it was an older version. Samba3x
in the RHEL/Centos repo contained the proper library and authentication now
works for all users. So thank you very much.

Samba4 in domain controller mode, is the only way for a Linux client to
authenticate against it via winbind? can regular LDAP authentication not be
used? Base DN, URI, etc..?

Please advise

Thanks

Aly

On Sun, Apr 3, 2011 at 9:00 PM, Taylor, Jonn wrote:

> On 04/03/2011 07:24 PM, Aly Khimji wrote:
> > Hi guys,
> >
> > First time poster so I do apologize if this question has been asked
> before.
> >
> > In a test set up we are trying to use samba4 to authenticate a small
> network
> > with Linux, Win, and OSX clients. I have successfully deployed samba4 in
> > domain controller mode, can attach windows machines to it, manage the DC
> via
> > windows tools.
> > We can also join Linux servers to the domain, however my problem is as
> > follows, When attempting to log into a Linux server, excluding local
> users,
> > the only directory user that can log in is the Administrator. Any other
> > directory user that attempts to log in gets a "No Logon Servers", however
> if
> > move that same user into the Domain Admins group they can log in with no
> > issues (yes as UID=0) as reported in /var/log/secure.
> >
> > Can someone please explain why this happens, and what step have i missed
> > that would allow regular users to log in?
> >
> In smb.conf set
> template shell = /bin/bash
> > That being said, my second question is, if it possible to have the samba4
> > server in domain controller mode, but have Linux clients authenticate via
> > ldap as appose to winbind?
> You have to use winbind or you will not get the right id mapping.
> [global]
>workgroup =  EXAMPLE
>realm = EXAMPLE.COM
>security = ADS
>password server = 192.168.173.10
>log file = /var/log/samba/samba3.log
>ldap ssl = no
>idmap backend = idmap_rid:EXAMPLE=500-400
>idmap uid = 500-400
>idmap gid = 500-400
>template homedir = /home/%U
>template shell = /bin/bash
>winbind enum users = Yes
>winbind enum groups = Yes
>winbind use default domain = Yes
>winbind offline logon = Yes
>
> > For example, when configuring an authentication method if it would
> possible
> > to use LDAP instead of samba/winbind? I tried to configure LDAP (correct
> > base, host, uri, etc..) but when it doesn't seem to pull any info? eg id
> or
> > getent doesn't work.
> In /etc/nsswitch.conf
> passwd: files winbind
> shadow: files winbind
> group:  files winbind
>
> and link 2 modules, these are for a 64 bit system, if yours is not just
> remove 64 from the links
>
> ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so
>
> ln -s /usr/local/samba/lib/pam_winbind.so /lib64/security/pam_winbind.so
>
> > Any pointers are greatly appreciated, I am just testing out
> > the capabilities of 4, i understand its still in Alpha but hope you guys
> > might have some experience with it.
> >
> > Thanks
> >
> > Aly
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Mac OS X status

2011-04-03 Thread Volker Lendecke
On Mon, Apr 04, 2011 at 12:05:22AM +0900, TAKAHASHI Motonobu wrote:
> H, maybe no one compiled Samba on Mac OS X recently...

That's very obvious from your findings :-)

But now that according to the rumors Apple is about to drop
Samba, we might revitalize the effort to create a nice
package on OS/X.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba