Sponsored Content
Operating Systems Solaris how to find out that how many users are in samba server in solaris 10 Post 302359205 by kumarmani on Tuesday 6th of October 2009 03:49:40 AM
Old 10-06-2009
You can lookout for client detail in smb.conf file which is located in the <install> lib. In that you will be getting the shared resource name with also you will get some thing like “valid users = <list of users who are allowed to use the resource>” take the user detail from there and grep them in /etc/passwd to get there home directory.

Last edited by DukeNuke2; 10-06-2009 at 04:53 AM.. Reason: changed font
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

(perl) Microsoft SQL Server client for solaris. cant find it...

let me save everyone the pain that it caused me. This is all free. And make sure it is in this order 1) make sure you have the latest version of perl installed 2) make sure you have NET:aemon installed 3) make sure you have RPC::PlServer & PlClient (the bundle has both) 4) make sure... (3 Replies)
Discussion started by: Optimus_P
3 Replies

2. Linux

RH8 samba won't let users in

when I type smbclient \\\\MYSERVER\\someuser at the prompt, it asks me to log in with the password for that user, and when I put it in, it says NT_USER_LOGIN_FAILURE eveyrtime, while at the linux terminal. When I try to access the server from my windows xp machine it shows up in the workgroup, but... (3 Replies)
Discussion started by: kymberm
3 Replies

3. Solaris

how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies

4. Solaris

Samba Users

Hi, a) How to see no. of samba users currently logged in the system & from which termainal ???? b) how to know number of samba users created for a system ( apart from seeing in the conf file)??:( (3 Replies)
Discussion started by: saurabh84g
3 Replies

5. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

6. UNIX for Dummies Questions & Answers

allocating space for samba users

I have installed samba by cmd yup install samba -a and configured my samba server.But i want my samba users to lo-gin from windows users and contain allocated amount of space. plz help me............ (1 Reply)
Discussion started by: yashwanthguru
1 Replies

7. Solaris

solaris samba configuration without wins service from authentication window server/Active directory

Hi All, We are using solaris samba server for our company project to provide access to code to our development team.Recently our ICT has disabled wins service on Active directory due which user are not able to connect to samba share and they are getting error "No logon server available" as samba... (2 Replies)
Discussion started by: sahil_shine
2 Replies

8. Shell Programming and Scripting

Log to find users who accessed server before

Hi, please provide the steps/commands to find out the user id list who accessed server before i logon same server. Thank you very much ffor all your support. (2 Replies)
Discussion started by: sridhardwh
2 Replies

9. Solaris

Not able to find samba client service in Solaris 10

Hi I am new to samba & I need to configure samba client on Solaris 10 machine where I need to mount/share window folder (Window 2008 machine is configured as samba server). I am following below mention link to mount this window's folder. ... (7 Replies)
Discussion started by: sb200
7 Replies

10. UNIX for Dummies Questions & Answers

Migrate users from 1 Solaris 10 to a different Solaris 10 server

Hello, I have to backup users from one server and put them on another server. I have tried cp -pr, copied over the passwd, group, shadow and appended the users from the old server to the new servers files, rebooted and still can't login. The server accepts that new accounts are there but not... (2 Replies)
Discussion started by: hs3082
2 Replies
NTDBBACKUP(8)						    System Administration tools 					     NTDBBACKUP(8)

NAME
ntdbbackup - tool for backing up and for validating the integrity of samba .ntdb files SYNOPSIS
ntdbbackup [-s suffix] [-v] [-h] DESCRIPTION
This tool is part of the samba(1) suite. ntdbbackup is a tool that may be used to backup samba .ntdb files. This tool may also be used to verify the integrity of the .ntdb files prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored. OPTIONS
-h Get help information. -s suffix The -s option allows the administrator to specify a file backup extension. This way it is possible to keep a history of ntdb backup files by using a new suffix for each backup. -v The -v will check the database for damages (corrupt data) which if detected causes the backup to be restored. COMMANDS
GENERAL INFORMATION The ntdbbackup utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of ntdb files, even during Samba operation. Typical usage for the command will be: ntdbbackup [-s suffix] *.ntdb Before restarting samba the following command may be run to validate .ntdb files: ntdbbackup -v [-s suffix] *.ntdb Note that Samba 4 can use .tdb files instead, so you should use tdbbackup on those files. Samba .tdb and .ntdb files are stored in various locations, be sure to run backup all .(n)tdb files on the system. Important files includes: o secrets.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o passdb.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o *.tdb and *.ntdb located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories. VERSION
This man page is correct for version 4 of the Samba suite. SEE ALSO
tdbbackup(8), ntdbrestore(8) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The ntdbbackup man page was written by Rusty Russell, based on the tdbbackup man page by John H Terpstra. Samba 4.1 06/17/2014 NTDBBACKUP(8)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy