01-14-2012
Two simple questions about Solaris DCHP and Samba
I have two simple questions
First is :can dhcp server NATIVE of solaris perform dhcp
updates of bind via dnssec like dchpd on linux?
Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap?
I never found howto or discussions about iplanet server.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
My boss wants me to find out how often e-m users are accessing their account:confused:. The mail server keeps log of all logins. I want to use grep the 'usernames', but it should come out the moment it first encounters the username in the log. Can I do that? I want to avoid 10+ greps... (2 Replies)
Discussion started by: nitin
2 Replies
2. UNIX for Dummies Questions & Answers
hi,
i am a total dummy of unix. i want to find out the following information from my Sun Solaris 8 Unix machine:
1) The command to display physical and virtual memory
2) The command to display the CPU
3) The command to display the total harddisk space.
thank u very much and have a nice... (3 Replies)
Discussion started by: champion
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am a dummy in unix. I have 2 simple questions.
1) I am the adminstrator. I want to set a alias that applied to all the users. I do not want to update each user's .profile or .cshrc file.
So is there a way to update it in one file so that it applies to all users ?
Example : I want... (1 Reply)
Discussion started by: champion
1 Replies
4. UNIX for Advanced & Expert Users
i stumbled upon something that gave some nice instructions on how to convert FreeBSD passwords from md5 to blowfish. it was simple and straight forward and it worked.
i'm running samba on the machine.
now i know the tutorial i was following had something where a user's samba and machine... (1 Reply)
Discussion started by: xyyz
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have successfully setup my Samba server on my Sun Solaris 8 Sparc machine. My Win2000 workstation is able to see the unix worstation and its shared directory from Network Neighborhood.
However, the Unix workstation appears as Ip address instead of Hostname on my network neighborhood... (5 Replies)
Discussion started by: champion
5 Replies
6. UNIX for Dummies Questions & Answers
Allright the situation is that i have a dual boot set up with windows xp and red hat 9.0. the problem is that my modem and sound card dont work with linux. I found a driver, and i have to download it with xp. My question is.....
How do i actually copy the file to the linux... (4 Replies)
Discussion started by: nregenwether
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I'm a noob when comes to make files....
My intentions for the use of my make file are not that of a usual compilation, etc.
It is simply to copy some files from a RCS controlled area to a public area which has read rights only for a web page.
My dilemma comes in the form of sub... (0 Replies)
Discussion started by: Roxydogg28
0 Replies
8. Solaris
OS: Solaris 10
I downloaded a binary from samba.org (3.0.24)
I extracted the file and ran the following command:
# ./configure --prefix=/usr/sfw --with-configdir=/etc/sfw --with-winbind
Now I am trying to understand the compile process but I can't find many answers online
... (10 Replies)
Discussion started by: Keepcase
10 Replies
9. UNIX for Dummies Questions & Answers
Greetings, I hope this is the right forum. I am looking to install Samba on my Linux box on my home network. I'm pretty sure I can deal with the how, I'm just not certain of the what.
ok I'm using Debian lenny with no GUI. I have apt working and I've successfully installed and used one package... (10 Replies)
Discussion started by: fguy
10 Replies
10. AIX
Hello,
I am looking into virtualizing AIX 7.1 on our p7 machine that already has AIX 7.1 installed on it. I have a few questions about them:
1) In order to gain LPAR functionality, do I need to purchase PowerVM software?
2) I read that LPARs are managed from locally attached graphical... (1 Reply)
Discussion started by: bstring
1 Replies
LEARN ABOUT PHP
ldap_bind
LDAP_BIND(3) 1 LDAP_BIND(3)
ldap_bind - Bind to LDAP directory
SYNOPSIS
bool ldap_bind NULL NULL (resource $link_identifier, [string $bind_rdn], [string $bind_password])
DESCRIPTION
Binds to the LDAP directory with specified RDN and password.
PARAMETERS
o $link_identifier
- An LDAP link identifier, returned by ldap_connect(3).
o $bind_rdn
-
o $bind_password
-
If $bind_rdn and $bind_password are not specified, an anonymous bind is attempted.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Using LDAP Bind
<?php
// using ldap bind
$ldaprdn = 'uname'; // ldap rdn or dn
$ldappass = 'password'; // associated password
// connect to ldap server
$ldapconn = ldap_connect("ldap.example.com")
or die("Could not connect to LDAP server.");
if ($ldapconn) {
// binding to ldap server
$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);
// verify binding
if ($ldapbind) {
echo "LDAP bind successful...";
} else {
echo "LDAP bind failed...";
}
}
?>
Example #2
Using LDAP Bind Anonymously
<?php
//using ldap bind anonymously
// connect to ldap server
$ldapconn = ldap_connect("ldap.example.com")
or die("Could not connect to LDAP server.");
if ($ldapconn) {
// binding anonymously
$ldapbind = ldap_bind($ldapconn);
if ($ldapbind) {
echo "LDAP bind anonymous successful...";
} else {
echo "LDAP bind anonymous failed...";
}
}
?>
SEE ALSO
ldap_unbind(3).
PHP Documentation Group LDAP_BIND(3)