[Samba] Samba on solaris 8

2012-03-05 Thread Gaiseric Vandal

You should start a new e-mail thread instead of "reply to all" for

You may be able to get a precompiled version of samba for solaris 8 from 
www.blastwave.org.
If you are NOT familiar with solaris administration this will probably 
not be appropriate for you.



Solaris 8 is very old.  You are better off moving to Solaris 10 which 
includes samba 3.4.x.   Solaris 10 administration is different that 
Solaris 8.  If you are not familiar with Solaris 10 administration you 
should not do this.  You may be better off going with a recent linux 
release.








On 03/05/12 07:55, Mayamurugan M wrote:

Dear all,

I want to install solaris 8 samba server
kindly guide basic download version and
installation basic setup
Example : pkg add and patchad and download samba server.
















On 3/2/12, Benedikt Schindler  wrote:

Samba version : 3.6.3
Filesystem :BTRFS
Clients :   XP, Win7
Log Level : 5


When we start our samba server everything works fine.
After a few days, some of our users are not allowed to connect to shares
anymore. When we restart the clients they can connect for a short time
and then say have the same problem again.

When we restart the server everything works fine for a few days again.
We set the "winbind offline logon = yes" and it slowed down the process,
but didn't stop it.

After a long search i think i found the problem.

The user has "401217" as mapped ID,
and should be in the groups
   400513
   401612
   401609
   401611

But samba just put him into
   400513
   401612
   401611

So samba lost one group. And thats the reason the user is not allowed to
connect to the share, because only the group 401609 has a read permisson.

Any ideas how that could happen?


Here is a log of a "failed" login:


[2012/03/02 11:37:52.842978,  5]
../libcli/security/security_token.c:63(security_token_debug)
   Security token SIDs (15):
 SID[  0]: S-1-5-21-1004336348-920026266-682003330-1217
 SID[  1]: S-1-5-21-1004336348-920026266-682003330-513
 SID[  2]: S-1-5-21-1004336348-920026266-682003330-1612
 SID[  3]: S-1-5-21-1004336348-920026266-682003330-1609
 SID[  4]: S-1-5-21-1004336348-920026266-682003330-1611
 SID[  5]: S-1-1-0
 SID[  6]: S-1-5-2
 SID[  7]: S-1-5-11
 SID[  8]: S-1-22-1-401217
 SID[  9]: S-1-22-2-400513
 SID[ 10]: S-1-22-2-401612
 SID[ 11]: S-1-22-2-401611
 SID[ 12]: S-1-22-2-7
 SID[ 13]: S-1-22-2-70002
 SID[ 14]: S-1-22-2-70011
Privileges (0x   0):
Rights (0x   0):
[2012/03/02 11:37:52.843247,  5]
auth/token_util.c:527(debug_unix_user_token)
   UNIX token of user 401217
   Primary group is 400513 and contains 6 supplementary groups
   Group[  0]: 400513
   Group[  1]: 401612
   Group[  2]: 401611
   Group[  3]: 7
   Group[  4]: 70002
   Group[  5]: 70011
[2012/03/02 11:37:52.843372,  5] smbd/uid.c:317(change_to_user_internal)
   Impersonated user: uid=(0,401217), gid=(0,400513)
[2012/03/02 11:37:52.843408,  4] smbd/vfs.c:780(vfs_ChDir)
   vfs_ChDir to /home/data
[2012/03/02 11:37:52.843443,  4] smbd/vfs.c:780(vfs_ChDir)
   vfs_ChDir to /home/data
[2012/03/02 11:37:52.843476,  3] smbd/service.c:190(set_current_service)
   chdir (/home/data) failed, reason: Keine Berechtigung
[2012/03/02 11:37:52.843509,  3] smbd/error.c:81(error_packet_set)
   error packet at smbd/process.c(1558) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED




Configuration parts that are maybe interresting:
smb.conf:


security = ADS

socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
nt acl support = yes
vfs objects = acl_xattr

winbind enum users = yes
 winbind enum groups = yes
 winbind offline logon = yes
 allow trusted domains = yes

 idmap config * : backend = rid
 idmap config * : range   = 7-9
 idmap config * : base_rid= 0

 idmap config A : backend = rid
 idmap config A : range   = 40-49
 idmap config A : base_rid= 0

 idmap config B : backend  = rid
 idmap config B : range= 30-39
 idmap config B : base_rid = 0



--
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] Samba on Solaris 8

2010-04-20 Thread David McWilliams
Resolved

Sláinte,

David

"Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life" - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507


On Tue, Apr 20, 2010 at 11:25 AM, David McWilliams wrote:

> Done the following;
>
>   crle -l /usr/lib:/usr/local/lib:/usr/local/samba/lib
>
> Now I don't get the errors, but still nmbd & smbd do not start. Any clues,
> anyone?
>
>
> Sláinte,
>
> David
>
> "Build a man a fire he'll be warm for a day, set a man on fire and he'll be
> warm for the rest of his life" - Terry Pratchett
>
> Checkout my photos - http://www.panoramio.com/user/1113507
>
>
>   On Tue, Apr 20, 2010 at 10:15 AM, David McWilliams 
> wrote:
>
>> So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
>> getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
>> from Sunfreeware.com, with prereqs;
>>
>>  krb5-1.7-sol8-sparc-local
>>  openssl-1.0.0-sol8-sparc-local
>>  libgcc-3.4.6-sol8-sparc-local
>>  popt-1.14-sol8-sparc-local
>>  libiconv-1.13.1-sol8-sparc-local
>>  readline-5.2-sol8-sparc-local
>>  libintl-3.4.0-sol8-sparc-local
>>  samba-3.4.2-sol8-sparc-local
>>  ncurses-5.6-sol8-sparc-local
>>  sasl-2.1.21-sol8-sparc-local
>>  openldap-2.4.16-sol8-sparc-local
>>  zlib-1.2.4-sol8-sparc-local
>>
>> As far as I can tell, everything installed without issue.
>>
>> When I try and start Samba using;
>>
>>  /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
>>  /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out
>>
>> I get the following error;
>>
>>  ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open
>> failed: No such file or directory
>>  Killed
>>
>> libtalloc.so exists in /usr/local/samba/lib. I tried including
>> /usr/local/samba/lib in both $LIBPATH & $LD_LIBRARY_PATH
>>
>> Any ideas anyone?
>>
>> Sláinte,
>>
>> David
>>
>> "Build a man a fire he'll be warm for a day, set a man on fire and he'll
>> be warm for the rest of his life" - Terry Pratchett
>>
>> Checkout my photos - http://www.panoramio.com/user/1113507
>>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba on Solaris 8

2010-04-20 Thread David McWilliams
Done the following;

  crle -l /usr/lib:/usr/local/lib:/usr/local/samba/lib

Now I don't get the errors, but still nmbd & smbd do not start. Any clues,
anyone?

Sláinte,

David

"Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life" - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507


On Tue, Apr 20, 2010 at 10:15 AM, David McWilliams wrote:

> So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
> getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
> from Sunfreeware.com, with prereqs;
>
>  krb5-1.7-sol8-sparc-local
>  openssl-1.0.0-sol8-sparc-local
>  libgcc-3.4.6-sol8-sparc-local
>  popt-1.14-sol8-sparc-local
>  libiconv-1.13.1-sol8-sparc-local
>  readline-5.2-sol8-sparc-local
>  libintl-3.4.0-sol8-sparc-local
>  samba-3.4.2-sol8-sparc-local
>  ncurses-5.6-sol8-sparc-local
>  sasl-2.1.21-sol8-sparc-local
>  openldap-2.4.16-sol8-sparc-local
>  zlib-1.2.4-sol8-sparc-local
>
> As far as I can tell, everything installed without issue.
>
> When I try and start Samba using;
>
>  /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
>  /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out
>
> I get the following error;
>
>  ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open failed:
> No such file or directory
>  Killed
>
> libtalloc.so exists in /usr/local/samba/lib. I tried including
> /usr/local/samba/lib in both $LIBPATH & $LD_LIBRARY_PATH
>
> Any ideas anyone?
>
> Sláinte,
>
> David
>
> "Build a man a fire he'll be warm for a day, set a man on fire and he'll be
> warm for the rest of his life" - Terry Pratchett
>
> Checkout my photos - http://www.panoramio.com/user/1113507
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba on Solaris 8

2010-04-20 Thread David McWilliams
So I decided to dump Samba 2.2.0 on Solaris 8 due to the problems I had
getting it to connect to Vista, so I installed Samba 3.4.2 as downloaded
from Sunfreeware.com, with prereqs;

 krb5-1.7-sol8-sparc-local
 openssl-1.0.0-sol8-sparc-local
 libgcc-3.4.6-sol8-sparc-local
 popt-1.14-sol8-sparc-local
 libiconv-1.13.1-sol8-sparc-local
 readline-5.2-sol8-sparc-local
 libintl-3.4.0-sol8-sparc-local
 samba-3.4.2-sol8-sparc-local
 ncurses-5.6-sol8-sparc-local
 sasl-2.1.21-sol8-sparc-local
 openldap-2.4.16-sol8-sparc-local
 zlib-1.2.4-sol8-sparc-local

As far as I can tell, everything installed without issue.

When I try and start Samba using;

 /usr/local/samba/sbin/smbd -D -d 0 -l /var/tmp/samba.out
 /usr/local/samba/sbin/nmbd -D -d 0 -l /var/tmp/samba.out

I get the following error;

 ld.so.1: /usr/local/samba/sbin/smbd: fatal: libtalloc.so: open failed:
No such file or directory
 Killed

libtalloc.so exists in /usr/local/samba/lib. I tried including
/usr/local/samba/lib in both $LIBPATH & $LD_LIBRARY_PATH

Any ideas anyone?

Sláinte,

David

"Build a man a fire he'll be warm for a day, set a man on fire and he'll be
warm for the rest of his life" - Terry Pratchett

Checkout my photos - http://www.panoramio.com/user/1113507
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba on Solaris 8

2007-05-28 Thread James Lockie

George Sadathian wrote:

Good Morning,

I would like to run a question by your technical support team.
  
There is no free dedicated support team, volunteers answer what they 
feel like answering.



My employer is currently using Samba server (Samba 2.0.5a)
  

I think you have to upgrade to 3 but I'm not sure.
The best thing is to read the Samba manual.

 Solaris 8 sun4u sparc SUNW,Ultra-4.

Samba is configured to communicate through port 139.

However we have been asked to change Samba configuration in order to 


change the communication from port 139 to 445.

This configuration change is requested to improve network security.

I am not entirely sure what porcess/es or steps needed for this
alteration.

I would like to know if  there is any procedure or recommendation so I
would be able to

Implement this change.

In advance, I would like to thank you for all your assistance.

 


Regards,

George Sadathian

 

  

http://docs.hp.com/en/B8725-90118/ch02s06.html

NetBIOS Names Are Not Supported on Port 445

HP CIFS Server A.02.* versions (based and Samba 3.0.x) can accept 
connections on port 445 as well as the original port 139. However, since 
port 445 connections are for SMB over TCP and do not support the NetBIOS 
protocol. NetBIOS names are not supported on port 445. This means 
features of Samba that depend on NetBIOS will not work. For example, the 
"virtual server" technique depending on an "include = 
/etc/opt/samba/smb.conf.%L" which ends up referring to another 
smb.conf. will not work.


You can use the smb.conf parametersmb ports to specify which ports the 
server should listen on for SMB traffic. Set smb ports to 139 to disable 
port 445. By default, smb ports is set to 445 139.

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


[Samba] Samba on Solaris 8

2007-05-25 Thread George Sadathian
Good Morning,

I would like to run a question by your technical support team.

My employer is currently using Samba server (Samba 2.0.5a)

 Solaris 8 sun4u sparc SUNW,Ultra-4.

Samba is configured to communicate through port 139.

However we have been asked to change Samba configuration in order to 

change the communication from port 139 to 445.

This configuration change is requested to improve network security.

I am not entirely sure what porcess/es or steps needed for this
alteration.

I would like to know if  there is any procedure or recommendation so I
would be able to

Implement this change.

In advance, I would like to thank you for all your assistance.

 

Regards,

George Sadathian

 

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